Generated on Tue Jan 19 2021 06:15:49 for Gecode by doxygen 1.8.13
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, 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...
 
void reschedule (Space &home, Propagator &p, PropCond pc)
 Schedule propagator p. 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

◆ OptFlexTask() [1/2]

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

Default constructor.

Definition at line 515 of file task.hpp.

◆ OptFlexTask() [2/2]

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 517 of file task.hpp.

Member Function Documentation

◆ init()

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 521 of file task.hpp.

Friends And Related Function Documentation

◆ operator<<()

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 527 of file task.hpp.


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