Unary (mandatory) task with fixed processing time
More...
#include <unary.hh>
|
int | est (void) const |
| Return earliest start time.
|
int | ect (void) const |
| Return earliest completion time.
|
int | lst (void) const |
| Return latest start time.
|
int | lct (void) const |
| Return latest completion time.
|
int | pmin (void) const |
| Return minimum processing time.
|
int | pmax (void) const |
| Return maximum processing time.
|
IntVar | st (void) const |
| Return start time.
|
bool | mandatory (void) const |
| Whether task is mandatory.
|
bool | excluded (void) const |
| Whether task is excluded.
|
bool | optional (void) const |
| Whether task can still be optional.
|
Unary (mandatory) task with fixed processing time
Definition at line 54 of file unary.hh.
◆ ManFixPTask() [1/2]
ManFixPTask::ManFixPTask |
( |
void | | ) |
|
|
inline |
Default constructor.
Definition at line 43 of file task.hpp.
◆ ManFixPTask() [2/2]
ManFixPTask::ManFixPTask |
( |
IntVar | s, |
|
|
int | p ) |
|
inline |
Initialize with start time s and processing time p.
Definition at line 45 of file task.hpp.
◆ init() [1/2]
void ManFixPTask::init |
( |
IntVar | s, |
|
|
int | p ) |
|
inline |
Initialize with start time s and processing time p.
Definition at line 47 of file task.hpp.
◆ init() [2/2]
Initialize from task t.
Definition at line 51 of file task.hpp.
◆ est() [1/2]
int ManFixPTask::est |
( |
void | | ) |
const |
|
inline |
Return earliest start time.
Definition at line 56 of file task.hpp.
◆ ect() [1/2]
int ManFixPTask::ect |
( |
void | | ) |
const |
|
inline |
Return earliest completion time.
Definition at line 60 of file task.hpp.
◆ lst() [1/2]
int ManFixPTask::lst |
( |
void | | ) |
const |
|
inline |
Return latest start time.
Definition at line 64 of file task.hpp.
◆ lct() [1/2]
int ManFixPTask::lct |
( |
void | | ) |
const |
|
inline |
Return latest completion time.
Definition at line 68 of file task.hpp.
◆ pmin()
int ManFixPTask::pmin |
( |
void | | ) |
const |
|
inline |
Return minimum processing time.
Definition at line 72 of file task.hpp.
◆ pmax()
int ManFixPTask::pmax |
( |
void | | ) |
const |
|
inline |
Return maximum processing time.
Definition at line 76 of file task.hpp.
◆ st()
IntVar ManFixPTask::st |
( |
void | | ) |
const |
|
inline |
Return start time.
Definition at line 80 of file task.hpp.
◆ mandatory() [1/2]
bool ManFixPTask::mandatory |
( |
void | | ) |
const |
|
inline |
Whether task is mandatory.
Definition at line 85 of file task.hpp.
◆ excluded() [1/2]
bool ManFixPTask::excluded |
( |
void | | ) |
const |
|
inline |
Whether task is excluded.
Definition at line 89 of file task.hpp.
◆ optional()
bool ManFixPTask::optional |
( |
void | | ) |
const |
|
inline |
Whether task can still be optional.
Definition at line 93 of file task.hpp.
◆ assigned()
bool ManFixPTask::assigned |
( |
void | | ) |
const |
|
inline |
Test whether task is assigned.
Definition at line 98 of file task.hpp.
◆ est() [2/2]
Update earliest start time to n.
Definition at line 103 of file task.hpp.
◆ ect() [2/2]
Update earliest completion time to n.
Definition at line 107 of file task.hpp.
◆ lst() [2/2]
Update latest start time to n.
Definition at line 111 of file task.hpp.
◆ lct() [2/2]
Update latest completion time to n.
Definition at line 115 of file task.hpp.
◆ norun()
Update such that task cannot run from e to l.
Definition at line 119 of file task.hpp.
◆ mandatory() [2/2]
Mark task as mandatory.
Definition at line 130 of file task.hpp.
◆ excluded() [2/2]
Mark task as excluded.
Definition at line 134 of file task.hpp.
◆ update()
Update this task to be a clone of task t.
Definition at line 139 of file task.hpp.
◆ subscribe()
Subscribe propagator p to task.
Definition at line 144 of file task.hpp.
◆ cancel()
Cancel subscription of propagator p for task.
Definition at line 148 of file task.hpp.
◆ reschedule()
Schedule propagator p.
Definition at line 152 of file task.hpp.
◆ _s
Start time.
Definition at line 57 of file unary.hh.
◆ _p
int Gecode::Int::Unary::ManFixPTask::_p |
|
protected |
Processing time.
Definition at line 59 of file unary.hh.
The documentation for this class was generated from the following files: