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

Cumulative optional task with fixed processing, start or end time. More...

#include <cumulative.hh>

Public Member Functions

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

Constructors and initialization

 OptFixPSETask (void)
 Default constructor. More...
 
 OptFixPSETask (TaskType t, 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 (TaskType t, 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< ManFixPSETask >
Int::BoolView _m
 Boolean view whether task is mandatory (= 1) or not. More...
 

Detailed Description

Cumulative optional task with fixed processing, start or end time.

Definition at line 239 of file cumulative.hh.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 200 of file task.hpp.

Gecode::Int::Cumulative::OptFixPSETask::OptFixPSETask ( TaskType  t,
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 202 of file task.hpp.

Member Function Documentation

void Gecode::Int::Cumulative::OptFixPSETask::init ( TaskType  t,
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 206 of file task.hpp.

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

Cast to corresponding unary task.

Definition at line 210 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 OptFixPSETask t 
)
related

Print optional task in format est:[p,c]:lct:m.

Definition at line 216 of file task.hpp.


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