Cumulative optional task with flexible processing time More...
#include <cumulative.hh>
Public Member Functions | |
operator Unary::OptFlexTask (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 OptFlexTask &t) |
Print optional task in format est:lst:pmin:pmax:c:ect:lct:m. | |
Constructors and initialization | |
OptFlexTask (void) | |
Default constructor. | |
OptFlexTask (IntVar s, IntVar p, IntVar e, int c, BoolVar m) | |
Initialize with start time s, processing time p, end time e, and mandatory flag m. | |
void | init (IntVar s, IntVar p, IntVar e, int c, BoolVar m) |
Initialize with start time s, processing time p, end time e, and mandatory flag m. |
Cumulative optional task with flexible processing time
Definition at line 253 of file cumulative.hh.
Gecode::Int::Cumulative::OptFlexTask::OptFlexTask | ( | void | ) | [inline] |
Gecode::Int::Cumulative::OptFlexTask::OptFlexTask | ( | IntVar | s, |
IntVar | p, | ||
IntVar | e, | ||
int | c, | ||
BoolVar | m | ||
) | [inline] |
void Gecode::Int::Cumulative::OptFlexTask::init | ( | IntVar | s, |
IntVar | p, | ||
IntVar | e, | ||
int | c, | ||
BoolVar | m | ||
) | [inline] |
Gecode::Int::Cumulative::OptFlexTask::operator Unary::OptFlexTask | ( | void | ) | [inline] |
std::basic_ostream< Char, Traits > & operator<< | ( | std::basic_ostream< Char, Traits > & | os, |
const OptFlexTask & | t | ||
) | [related] |