Overview | Group | Tree | Graph | Index | Concepts |
Transition cost objects in Scheduler Concert Technology depend on
the classes IloTransitionCostObjectI
and IloTransitionCostObject
. The class
IloTransitionCostObjectI
is the implementation class. If you
define a new class of transition cost object with the macro ILOTRANSITIONCOSTOBJECT0
, it will define this implementation
class together with the corresponding virtual member function
IloTransitionCostObjectI::extract
, and with a member function that
returns an instance of the handle class IloTransitionCostObject
.
For more information, see Transition Costs.
See Also:
IloTransitionCostObject, ILOTRANSITIONCOSTOBJECT0, IloTransitionCost
Method Summary | |
---|---|
public virtual IlcTransitionCostObjectI * | extract(const IloSolver & solver) const |
protected void | use(const IloSolver &, const IloExtractable &) const |
Method Detail |
---|
This virtual function implements the extraction of the invoking transition cost object into an
IlcTransitionCostObjectI*
by the solver
given as argument.
Note that this member function must be defined by using the macro
ILOTRANSITIONCOSTOBJECT0
.
This member function can only be called from within the member function
IloTransitionCostObjectI::extract
(that is, only in the code of a macro ILOTRANSITIONCOSTOBJECT0
).
It states that the invoking transition cost object currently in the process of being
extracted by the solver given as argument uses the extractable given as the second argument.
As a consequence, the extractable given as the second argument will be immediately extracted
by the solver currently performing the extraction of the invoking transition cost,
which must be given as first argument to this member function.