Overview | Group | Tree | Graph | Index | Concepts |
Description |
Transition Time Defined with a Transition Parameter |
Transition Time Defined with a Transition Time Object |
Given two activities
A1
and
A2
, the transition time between
A1
and
A2
on a resource
R
is the amount of time that must elapse between the end of
A1
and the beginning of
A2,
when
A1
precedes
A2
on resource
R
.
A transition time (instance of IloTransitionTime
) can be created on a resource.
By default, the transition time on a resource is not suspended by the breaks defined on that resource. The member function IloTransitionTime::setSuspended
allows specifying a transition time that is suspended by the breaks of the resource.
See
Breaks and Transition Times
for an illustration of suspended transition times.
A parameter associated with each resource allows one to change the level of enforcement of
transition times (member functions IloResourceParam::getTransitionTimeEnforcement
and IloResourceParam::setTransitionTimeEnforcement
).
The semantics of these levels depends on the scheduler.
The list of time intervals over which the transition times must be enforced is given as a parameter of the resource, and can be modified with the member functions IloResource::addTransitionTimeEnforcementInterval
, and IloResource::removeTransitionTimeEnforcementInterval
.
An instance of IloTransitionTime
associates a resource with either a transition parameter (instance of IloTransitionParam
)
or a user-defined transition time object (subclass of IloTransitionTimeObject
.)
A transition parameter (instance of IloTransitionParam
) is a square table
describing the transition between activities, with two arrays describing the activity setup and teardown values. An integer transition type is associated with each activity. The accessors are the functions IloActivity::getTransitionType
and IloActivity::setTransitionType
.
They allow you to define instances of IloTransitionTime
from IloTransitionParam
where the arrays are indexed by the transition types of activities.
Note that when a transition time defined with an IloTransitionParam
is associated with a resource, activities of different types cannot overlap on that resource.
A transition time object is a subclass of IloTransitionTimeObject
defined with the macro ILOTRANSITIONTIMEOBJECT0
.
This macro makes it easy to define your own transition time together with its extraction function, in case a simple square table as the one provided by IloTransitionParam
is not sufficient for your purposes.
See Also
IloActivity, IloTransitionTime, IloTransitionParam, IloResource, IloTransitionTimeObject, ILOTRANSITIONTIMEOBJECT0, IloResourceParam.