 |
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
41 #pragma GCC visibility push(default)
59 :
BranchRule(master), poolSlotRef_(poolSlot) { }
83 virtual int extract(
Sub *sub)
override;
90 virtual void extract(
LpSub *lp)
override;
92 virtual void unExtract(
LpSub *lp)
override;
99 virtual void initialize(
Sub *sub)
override;
104 return poolSlotRef_.conVar();
109 return poolSlotRef_.conVar();
120 #pragma GCC visibility pop
Base class for branching rules.
Stores a pointer to a pool slot with version number.
Abstract base class for all branching rules.
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)
Constraint * constraint()
Returns a pointer to the branching constraint, or a 0-pointer if this constraint is not available.
const Constraint * constraint() const
Returns a const pointer to the branching constraint, or a 0-pointer if this constraint is not availab...
ConBranchRule(Master *master, PoolSlot< Constraint, Variable > *poolSlot)
Creates a branching constraint.
PoolSlotRef< Constraint, Variable > poolSlotRef_
A reference to the pool slot of the branching constraints.
Implements the branching by adding a constraint to the set of active constraints.
The linear program of a subproblem.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Forms the virtual base class for all possible constraints given in pool format.
Stores constraints and variables.
The master of the optimization.