Overview | Group | Tree | Graph | Index | Concepts |
An instance of IloCalendar
allows modeling complex behavior for activity
variables (start, end, duration and processing time) within a resource.
This behaviour could represent,
for example, holidays, resource performances, and so forth. For more information, see
Calendars.
A calendar object is defined by three components:
Constructor Summary | |
---|---|
public | IloCalendar() |
public | IloCalendar(IloCalendarI * impl) |
public | IloCalendar(const IloEnv env, const char * name=0) |
Method Summary | |
---|---|
public void | addShiftObject(IloShiftObject shift) const |
public IloBool | areShiftObjectsIgnored() const |
public IloCalendarI * | getImpl() const |
public IloBool | hasBreakListParam() const |
public IloBool | hasEfficiencyParam() const |
public IloBool | hasShiftObject() const |
public void | ignoreBreakListParam(IlcBool ignored=IloTrue) const |
public void | ignoreEfficiencyParam(IlcBool ignored=IloTrue) const |
public void | ignoreShiftObjects(IlcBool ignored=IloTrue) const |
public IloBool | isBreakListParamIgnored() const |
public IloBool | isEfficiencyParamIgnored() const |
public void | removeShiftObject(IloShiftObject shift) const |
public void | setBreakListParam(const IloIntervalList breakList) const |
public void | setEfficiencyParam(const IloGranularFunction f) const |
Inner Class |
---|
IloCalendar::ShiftObjectIterator |
Constructor Detail |
---|
This constructor creates a new instance of IloCalendar
.
Its name is set to name
Method Detail |
---|
This member function adds the shift object shift
to the invoking calendar.
This member function returns IloTrue
if shift objects of the
invoking calendar are not taken into account when searching for a solution.
Otherwise, it returns IloFalse
.
This member function returns IloTrue
if a list of breaks
has been attached to the invoking calendar.
Otherwise, it returns IloFalse
.
This member function returns IloTrue
if an efficiency function
has been attached to the invoking calendar.
Otherwise, it returns IloFalse
.
This member function returns IlcTrue
if the invoking calendar contains shift objects.
If the calendar list of shift object is empty, it returns IlcFalse
.
When the argument ignored
is equal to IloTrue
,
this member function inhibits breaks for the invoking calendar.
That is, all breaks will be ignored.
When the argument ignored
is equal to IloTrue
,
this member function inhibits the efficiency behavior for the invoking calendar.
That is, the efficiency function is considered as equal to the granularity on the entire horizon.
When the argument ignored
is equal to IloTrue
,
this member function inhibits all shift objects added to the invoking calendar.
That is, no shift is taken into account when searching for a solution.
This member function returns IloTrue
if breaks of the
invoking calendar are not taken into account when searching for a solution.
Otherwise, it returns IloFalse
.
This member function returns IloTrue
if the efficiency of the
invoking calendar is not taken into account when searching for a solution.
Otherwise, it returns IloFalse
.
This member function removes the shift object shift
from the invoking calendar.
This member function sets breakList
as the new break list of the calendar.
This member function sets f
as the granular step-wise function that models
the efficiency of the calendar within the schedule.