
Cumulative (mandatory) task with fixed processing, start or end time. More...
#include <cumulative.hh>
Protected Attributes | |
| int | _c |
| Required capacity. | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Char , class Traits > | |
| std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const ManFixPSETask &t) |
| Print task in format est:[p,c]:lct. | |
Constructors and initialization | |
| ManFixPSETask (void) | |
| Default constructor. | |
| ManFixPSETask (TaskType t, IntVar s, int p, int c) | |
| Initialize task. | |
| void | init (TaskType t, IntVar s, int p, int c) |
| Initialize task. | |
| void | init (const ManFixPSETask &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, ManFixPSETask &t) |
| Update this task to be a clone of task t. | |
Cumulative (mandatory) task with fixed processing, start or end time.
| Gecode::Int::Cumulative::ManFixPSETask::ManFixPSETask | ( | void | ) | [inline] |
Default constructor.
Reimplemented from Gecode::Int::Unary::ManFixPSETask.
| void Gecode::Int::Cumulative::ManFixPSETask::init | ( | const ManFixPSETask & | t | ) | [inline] |
| int Gecode::Int::Cumulative::ManFixPSETask::c | ( | void | ) | const [inline] |
| double Gecode::Int::Cumulative::ManFixPSETask::e | ( | void | ) | const [inline] |
| void Gecode::Int::Cumulative::ManFixPSETask::update | ( | Space & | home, |
| bool | share, | ||
| ManFixPSETask & | t | ||
| ) | [inline] |
| std::basic_ostream< Char, Traits > & operator<< | ( | std::basic_ostream< Char, Traits > & | os, |
| const ManFixPSETask & | t | ||
| ) | [related] |
int Gecode::Int::Cumulative::ManFixPSETask::_c [protected] |
Required capacity.
Definition at line 107 of file cumulative.hh.