Cumulative optional task with fixed processing time.
More...
#include <cumulative.hh>
List of all members.
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 OptFixPTask &t) |
| Print optional task in format est:[p,c]:lct:m.
|
Constructors and initialization |
| OptFixPTask (void) |
| Default constructor.
|
| OptFixPTask (IntVar s, int p, int c, BoolVar m) |
| Initialize with start time s, processing time p, required capacity c, and mandatory flag m.
|
void | init (IntVar s, int p, int c, BoolVar m) |
| Initialize with start time s, processing time p, required capacity c, and mandatory flag m.
|
Additional Inherited Members |
Int::BoolView | _m |
| Boolean view whether task is mandatory (= 1) or not.
|
Detailed Description
Cumulative optional task with fixed processing time.
Definition at line 201 of file cumulative.hh.
Constructor & Destructor Documentation
Gecode::Int::Cumulative::OptFixPTask::OptFixPTask |
( |
void |
| ) |
|
|
inline |
Default constructor.
Definition at line 171 of file task.hpp.
Gecode::Int::Cumulative::OptFixPTask::OptFixPTask |
( |
IntVar |
s, |
|
|
int |
p, |
|
|
int |
c, |
|
|
BoolVar |
m |
|
) |
| |
|
inline |
Initialize with start time s, processing time p, required capacity c, and mandatory flag m.
Definition at line 173 of file task.hpp.
Member Function Documentation
void Gecode::Int::Cumulative::OptFixPTask::init |
( |
IntVar |
s, |
|
|
int |
p, |
|
|
int |
c, |
|
|
BoolVar |
m |
|
) |
| |
|
inline |
Initialize with start time s, processing time p, required capacity c, and mandatory flag m.
Definition at line 177 of file task.hpp.
Cast to corresponding unary task.
Definition at line 181 of file task.hpp.
Friends And Related Function Documentation
template<class Char , class Traits >
std::basic_ostream< Char, Traits > & operator<< |
( |
std::basic_ostream< Char, Traits > & |
os, |
|
|
const OptFixPTask & |
t |
|
) |
| |
|
related |
Print optional task in format est:[p,c]:lct:m.
Definition at line 187 of file task.hpp.
The documentation for this class was generated from the following files: