Generated on Sat Feb 7 2015 02:01:47 for Gecode by doxygen 1.8.9.1
Gecode::Int::Cumulative::OptFlexTask Class Reference

Cumulative optional task with flexible processing time More...

#include <cumulative.hh>

Public Member Functions

 operator Unary::OptFlexTask (void)
 Cast to corresponding unary task. More...
 
- Public Member Functions inherited from Gecode::Int::ManToOptTask< ManFlexTask >
 ManToOptTask (void)
 Default constructor. More...
 
bool mandatory (void) const
 Whether task is mandatory. More...
 
bool excluded (void) const
 Whether task is excluded. More...
 
bool optional (void) const
 Whether task can still be optional. More...
 
ModEvent mandatory (Space &home)
 Mark task as mandatory. More...
 
ModEvent excluded (Space &home)
 Mark task as excluded. More...
 
bool assigned (void) const
 Test whether task is assigned. More...
 
void update (Space &home, bool share, ManToOptTask &t)
 Update this task to be a clone of task t. More...
 
void subscribe (Space &home, Propagator &p, PropCond pc)
 Subscribe propagator p to task. More...
 
void cancel (Space &home, Propagator &p, PropCond pc)
 Cancel subscription of propagator p for task. More...
 

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. More...
 

Constructors and initialization

 OptFlexTask (void)
 Default constructor. More...
 
 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. More...
 
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. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::ManToOptTask< ManFlexTask >
Int::BoolView _m
 Boolean view whether task is mandatory (= 1) or not. More...
 

Detailed Description

Cumulative optional task with flexible processing time

Definition at line 265 of file cumulative.hh.

Constructor & Destructor Documentation

Gecode::Int::Cumulative::OptFlexTask::OptFlexTask ( void  )
inline

Default constructor.

Definition at line 229 of file task.hpp.

Gecode::Int::Cumulative::OptFlexTask::OptFlexTask ( IntVar  s,
IntVar  p,
IntVar  e,
int  c,
BoolVar  m 
)
inline

Initialize with start time s, processing time p, end time e, and mandatory flag m.

Definition at line 231 of file task.hpp.

Member Function Documentation

void Gecode::Int::Cumulative::OptFlexTask::init ( IntVar  s,
IntVar  p,
IntVar  e,
int  c,
BoolVar  m 
)
inline

Initialize with start time s, processing time p, end time e, and mandatory flag m.

Definition at line 235 of file task.hpp.

Gecode::Int::Cumulative::OptFlexTask::operator Unary::OptFlexTask ( void  )
inline

Cast to corresponding unary task.

Definition at line 239 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 OptFlexTask t 
)
related

Print optional task in format est:lst:pmin:pmax:c:ect:lct:m.

Definition at line 245 of file task.hpp.


The documentation for this class was generated from the following files: