idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::NodeSet< NodeT > Class Template Reference
Collaboration diagram for idol::NodeSet< NodeT >:
Collaboration graph

Classes

class  const_iterator
 

Public Types

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

Public Member Functions

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)
 

Detailed Description

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

Definition at line 17 of file NodeSet.h.

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.

Member Function Documentation

◆ by_level()

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

Definition at line 29 of file NodeSet.h.

◆ by_objective_value()

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

Definition at line 28 of file NodeSet.h.

◆ clear()

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

Definition at line 67 of file NodeSet.h.

◆ emplace()

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

Definition at line 60 of file NodeSet.h.

◆ empty()

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

Definition at line 73 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 78 of file NodeSet.h.

◆ merge()

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

Definition at line 45 of file NodeSet.h.

◆ size()

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

Definition at line 37 of file NodeSet.h.