Gecode::Int::Cumulative::ManFlexTask Class Reference
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. | |
| long long int | e (void) const |
| Return required energy. | |
Cloning | |
|
| |
| void | update (Space &home, ManFlexTask &t) |
| Update this task to be a clone of task t. | |
Detailed Description
Cumulative (mandatory) task with flexible processing time.
Definition at line 166 of file cumulative.hh.
Constructor & Destructor Documentation
| ManFlexTask::ManFlexTask | ( | void | ) | [inline] |
Default constructor.
Reimplemented from Gecode::Int::Unary::ManFlexTask.
Member Function Documentation
| void ManFlexTask::init | ( | const ManFlexTask & | t | ) | [inline] |
| int ManFlexTask::c | ( | void | ) | const [inline] |
| long long int ManFlexTask::e | ( | void | ) | const [inline] |
Return required energy.
Reimplemented from Gecode::Int::Unary::ManFlexTask.
| void ManFlexTask::update | ( | Space & | home, | |
| ManFlexTask & | t | |||
| ) | [inline] |
Member Data Documentation
int Gecode::Int::Cumulative::ManFlexTask::_c [protected] |
Required capacity.
Definition at line 169 of file cumulative.hh.
The documentation for this class was generated from the following files:
- gecode/int/cumulative.hh
- gecode/int/cumulative/task.hpp
