41template<
class BaseType,
class CoType>
class Pool;
42template<
class BaseType,
class CoType>
class PoolSlotRef;
43template<
class BaseType,
class CoType>
class StandardPool;
44template<
class BaseType,
class CoType>
class NonDuplPool;
45template<
class BaseType,
class CoType>
class CutBuffer;
135 if (conVar_ ==
nullptr)
137 if (conVar_->deletable() ==
false)
154 pool_->removeConVar(
this);
158 unsigned long version()
const {
return version_; }
Base class of all other classes of ABACUS.
Forms the virtual base class for all possible constraints given in pool format.
The master of the optimization.
Standard pools without constraint duplication.
Base class for constraint/variabe pools.
Stores constraints and variables.
Master * master()
Returns a pointer to the corresponding master of the optimization.
BaseType * conVar_
A pointer to the constraint/variable.
int softDelete()
Tries to remove the item from the slot.
const Master * master() const
Returns a const pointer to the corresponding master of the optimization.
void insert(BaseType *convar)
Inserts a constraint/variable in the slot and updates the version number.
void removeConVarFromPool()
Removes the constraint contained in this slot from its pool.
unsigned long version() const
Return the version number of the constraint/variable in the slot.
Pool< BaseType, CoType > * pool_
A pointer to the corresponding pool.
const PoolSlot< BaseType, CoType > & operator=(const PoolSlot< BaseType, CoType > &rhs)
PoolSlot(Master *master, Pool< BaseType, CoType > *pool, BaseType *convar=0)
Creates a pool slot and inserts convar.
void hardDelete()
Deletes the constraint/variable in the slot.
PoolSlot(const PoolSlot< BaseType, CoType > &rhs)
Master * master_
A pointer to the corresponding master of the optimization.
BaseType * conVar() const
Returns a pointer to the constraint/variable in the pool slot.
unsigned long version_
The version of the constraint in the slot.
Stores a pointer to a pool slot with version number.
Forms the virtual base class for all possible variables given in pool format.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
the master of the optimization.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()