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 and Destructor Summary | |
---|---|
public | IlcCalendar() |
public | IlcCalendar(IlcCalendarI * impl) |
public | IlcCalendar(const IlcSchedule schedule) |
Method Summary | |
---|---|
public void | addShiftObject(IlcShiftObject shiftObj) |
public IlcIntervalList | getBreakList() const |
public IlcGranularFunction | getEfficiency() const |
public IlcCalendarI * | getImpl() const |
public const char * | getName() const |
public IlcAny | getObject() const |
public IlcSchedule | getSchedule() const |
public IloSolver | getSolver() const |
public IloSolverI * | getSolverI() const |
public void | operator=(const IlcCalendar & h) |
public void | removeShiftObject(IlcShiftObject shiftObj) |
public void | setBreakList(IlcIntervalList list) |
public void | setEfficiency(IlcGranularFunction f) |
public void | setName(const char * name) const |
public void | setObject(IlcAny object) const |
Inner Class |
---|
IlcCalendar::ShiftObjectIterator |
Constructor and Destructor Detail |
---|
This constructor creates a new instance of IlcCalendar
.
Its name is set to name
Method Detail |
---|
This member function adds the shift object shiftObj
to the invoking calendar.
This member function returns the list of breaks attached to the invoking calendar, if such a list exists.
This member function returns the efficiency function attached to the invoking calendar, if such a function exists.
This member function returns the schedule, an instance of IlcSchedule
, to which the invoking calendar belongs.
This member function returns an instance of IloSolver
associated with the invoking object.
This member function returns a pointer to the implementation object of the solver where the invoking object was extracted.
This member function removes the shift object shiftObj
from the invoking calendar.
This member function sets list
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.