
Cumulative (mandatory) task with flexible processing time. More...
#include <cumulative.hh>
Protected Attributes | |
| int | _c |
| Required capacity. | |
Constructors and initialization | |
| ManFlexTask (void) | |
| Default constructor. | |
| ManFlexTask (IntVar s, IntVar p, IntVar e, int c) | |
| Initialize with start time s, processing time p, end time e. | |
| void | init (IntVar s, IntVar p, IntVar e, int c) |
| Initialize with start time s, processing time p, end time e. | |
| void | init (const ManFlexTask &t) |
| Initialize from task t. | |
Value access | |
| int | c (void) const |
| Return required capacity. | |
| double | e (void) const |
| Return required energy. | |
Cloning | |
| void | update (Space &home, bool share, ManFlexTask &t) |
| Update this task to be a clone of task t. | |
Cumulative (mandatory) task with flexible processing time.
Definition at line 158 of file cumulative.hh.
| ManFlexTask::ManFlexTask | ( | void | ) | [inline] |
Default constructor.
Reimplemented from Gecode::Int::Unary::ManFlexTask.
| ManFlexTask::ManFlexTask | ( | IntVar | s, |
| IntVar | p, | ||
| IntVar | e, | ||
| int | c | ||
| ) | [inline] |
| void ManFlexTask::init | ( | IntVar | s, |
| IntVar | p, | ||
| IntVar | e, | ||
| int | c | ||
| ) | [inline] |
| void ManFlexTask::init | ( | const ManFlexTask & | t | ) | [inline] |
| int ManFlexTask::c | ( | void | ) | const [inline] |
| double ManFlexTask::e | ( | void | ) | const [inline] |
Return required energy.
Reimplemented from Gecode::Int::Unary::ManFlexTask.
| void ManFlexTask::update | ( | Space & | home, |
| bool | share, | ||
| ManFlexTask & | t | ||
| ) | [inline] |
int Gecode::Int::Cumulative::ManFlexTask::_c [protected] |
Required capacity.
Definition at line 161 of file cumulative.hh.