Overview | Group | Tree | Graph | Index | Concepts |
Transition time objects in Scheduler Concert Technology depend on
the classes IloTransitionTimeObjectI
and IloTransitionTimeObject
. The class
IloTransitionTimeObjectI
is the implementation class. If you
define a new class of transition time object with the macro ILOTRANSITIONTIMEOBJECT0
, it will define this implementation
class together with the corresponding virtual member function
IloTransitionTimeObjectI::extract
, and with a member function that
returns an instance of the handle class IloTransitionTimeObject
.
For more information, see Transition Times.
See Also:
IloTransitionTimeObject, ILOTRANSITIONTIMEOBJECT0, IloTransitionTime
Method Summary | |
---|---|
public virtual IlcTransitionTimeObjectI * | 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 time object into an
IlcTransitionTimeObjectI*
by the solver
given as argument.
Note that this member function must be defined by using the macro
ILOTRANSITIONTIMEOBJECT0
.
This member function can only be called from within the member function
IloTransitionTimeObjectI::extract
(that is, only in the code of a macro ILOTRANSITIONTIMEOBJECT0
).
It states that the invoking transition time 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 time,
which must be given as first argument to this member function.