Cumulative optional task with fixed processing time. More...
#include <cumulative.hh>
Public Member Functions | |
operator Unary::OptFixPTask (void) | |
Cast to corresponding unary task. | |
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. |
Cumulative optional task with fixed processing time.
Definition at line 213 of file cumulative.hh.
Gecode::Int::Cumulative::OptFixPTask::OptFixPTask | ( | void | ) | [inline] |
Gecode::Int::Cumulative::OptFixPTask::OptFixPTask | ( | IntVar | s, |
int | p, | ||
int | c, | ||
BoolVar | m | ||
) | [inline] |
void Gecode::Int::Cumulative::OptFixPTask::init | ( | IntVar | s, |
int | p, | ||
int | c, | ||
BoolVar | m | ||
) | [inline] |
Gecode::Int::Cumulative::OptFixPTask::operator Unary::OptFixPTask | ( | void | ) | [inline] |
std::basic_ostream< Char, Traits > & operator<< | ( | std::basic_ostream< Char, Traits > & | os, |
const OptFixPTask & | t | ||
) | [related] |