Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Unary::OptFlexTask Class Reference

Unary optional task with flexible processing time More...

#include <unary.hh>

(Note that these are not member symbols.)

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.

Constructors and initialization

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

Additional Inherited Members

 ManToOptTask (void)
 Default constructor.
bool mandatory (void) const
 Whether task is mandatory.
bool excluded (void) const
 Whether task is excluded.
bool optional (void) const
 Whether task can still be optional.
bool assigned (void) const
 Test whether task is assigned.
void update (Space &home, ManToOptTask &t)
 Update this task to be a clone of task t.
void subscribe (Space &home, Propagator &p, PropCond pc)
 Subscribe propagator p to task.
void cancel (Space &home, Propagator &p, PropCond pc)
 Cancel subscription of propagator p for task.
void reschedule (Space &home, Propagator &p, PropCond pc)
 Schedule propagator p.
Protected Attributes inherited from Gecode::Int::ManToOptTask< ManFlexTask >
Int::BoolView _m
 Boolean view whether task is mandatory (= 1) or not.

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.

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


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