Loading...
Searching...
No Matches
idol::NodeSet< NodeT > Class Template Reference

Description

template<class NodeT>
class idol::NodeSet< NodeT >

Definition at line 17 of file NodeSet.h.

Classes

class  const_iterator

Public Types

using ByObjectiveValueNodes = ConstIteratorForward<by_objective_value_t, const_iterator>
using ByLevelNodes = ConstIteratorForward<by_level_t, const_iterator>

Public Methods

ByObjectiveValueNodes by_objective_value () const
ByLevelNodes by_level () const
const_iterator emplace (NodeT t_node)
void clear ()
bool empty () const
unsigned int size () const
const_iterator erase (const const_iterator &t_it)
void merge (NodeSet< NodeT > &&t_node_set)

Member Typedef Documentation

◆ ByLevelNodes

template<class NodeT>
using idol::NodeSet< NodeT >::ByLevelNodes = ConstIteratorForward<by_level_t, const_iterator>

Definition at line 26 of file NodeSet.h.

◆ ByObjectiveValueNodes

template<class NodeT>
using idol::NodeSet< NodeT >::ByObjectiveValueNodes = ConstIteratorForward<by_objective_value_t, const_iterator>

Definition at line 25 of file NodeSet.h.

Methods Documentation

◆ by_level()

template<class NodeT>
ByLevelNodes idol::NodeSet< NodeT >::by_level ( ) const
inlinenodiscard

Definition at line 29 of file NodeSet.h.

◆ by_objective_value()

template<class NodeT>
ByObjectiveValueNodes idol::NodeSet< NodeT >::by_objective_value ( ) const
inlinenodiscard

Definition at line 28 of file NodeSet.h.

◆ clear()

template<class NodeT>
void idol::NodeSet< NodeT >::clear ( )

Definition at line 139 of file NodeSet.h.

◆ emplace()

template<class NodeT>
idol::NodeSet< NodeT >::const_iterator idol::NodeSet< NodeT >::emplace ( NodeT t_node)

Definition at line 132 of file NodeSet.h.

◆ empty()

template<class NodeT>
bool idol::NodeSet< NodeT >::empty ( ) const
nodiscard

Definition at line 145 of file NodeSet.h.

◆ erase()

template<class NodeT>
idol::NodeSet< NodeT >::const_iterator idol::NodeSet< NodeT >::erase ( const const_iterator & t_it)

Definition at line 150 of file NodeSet.h.

◆ merge()

template<class NodeT>
void idol::NodeSet< NodeT >::merge ( NodeSet< NodeT > && t_node_set)

Definition at line 117 of file NodeSet.h.

◆ size()

template<class NodeT>
unsigned int idol::NodeSet< NodeT >::size ( ) const
inlinenodiscard

Definition at line 37 of file NodeSet.h.