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

Unary optional task with flexible processing time More...

#include <unary.hh>

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:ect:lct:m. More...
 

Constructors and initialization

 OptFlexTask (void)
 Default constructor. More...
 
 OptFlexTask (IntVar s, IntVar p, IntVar e, 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, BoolVar m)
 Initialize with start time s, processing time p, end time e, and mandatory flag m. More...
 

Additional Inherited Members

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

Detailed Description

Unary optional task with flexible processing time

Definition at line 370 of file unary.hh.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 509 of file task.hpp.

Gecode::Int::Unary::OptFlexTask::OptFlexTask ( IntVar  s,
IntVar  p,
IntVar  e,
BoolVar  m 
)
inline

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

Definition at line 511 of file task.hpp.

Member Function Documentation

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

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

Definition at line 515 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:ect:lct:m.

Definition at line 521 of file task.hpp.


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