103 if(list_.removeFirst(sub))
Declaration of doubly linked lists and iterators.
Base class of all other classes of ABACUS.
The master of the optimization.
Maintains open subproblems.
double dualBound_
The dual bound of all open subproblems.
void updateDualBound()
Updates dualBound_ according to the dual bounds of the subproblems contained in this set.
ogdf::List< Sub * > list_
The list storing the open subproblems.
OpenSub(Master *master)
Creates an empty list of open subproblems.
OpenSub(const OpenSub &rhs)
int number() const
Returns the current number of open subproblems contained in this set.
const OpenSub & operator=(const OpenSub &rhs)
bool empty() const
Returns true if there is no subproblem in the set of open subproblems, false otherwise.
void insert(Sub *sub)
Adds a subproblem to the set of open subproblems.
Sub * select()
Selects a subproblem according to the master's strategy and removes it from the list of open subprobl...
Master * master_
A pointer to corresponding master of the optimization.
void remove(Sub *sub)
Removes subproblem from the set of open subproblems.
void prune()
Removes all elements from the set of opens subproblems.
double dualBound() const
Returns the value of the dual bound for all subproblems in the list.
Doubly linked lists (maintaining the length of the list).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.