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

Cumulative optional task with fixed processing time. More...

#include <cumulative.hh>

Public Member Functions

 operator Unary::OptFixPTask (void)
 Cast to corresponding unary task. More...
 
- Public Member Functions inherited from Gecode::Int::ManToOptTask< ManFixPTask >
 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 OptFixPTask &t)
 Print optional task in format est:[p,c]:lct:m. More...
 

Constructors and initialization

 OptFixPTask (void)
 Default constructor. More...
 
 OptFixPTask (IntVar s, int p, int c, BoolVar m)
 Initialize with start time s, processing time p, required capacity c, and mandatory flag m. More...
 
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. More...
 

Additional Inherited Members

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

Detailed Description

Cumulative optional task with fixed processing time.

Definition at line 213 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.

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

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: