Gecode::Int::Unary::OptFixPTask Class Reference

Unary optional task with fixed processing time More...

`#include <unary.hh>`

## Related Symbols

(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 OptFixPTask &t)
| Print optional task in format est:p:lct:m.

## Constructors and initialization

| OptFixPTask (void)
| Default constructor.
| OptFixPTask (IntVar s, int p, BoolVar m)
| Initialize with start time s, processing time p, and mandatory flag m.
void | init (IntVar s, int p, BoolVar m)
| Initialize with start time s, processing time p, 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< ManFixPTask >
Int::BoolView | _m
| Boolean view whether task is mandatory (= 1) or not.

## Detailed Description

Unary optional task with fixed processing time

Definition at line 222 of file unary.hh.

## Constructor & Destructor Documentation

## OptFixPTask() [1/2]

Gecode::Int::Unary::OptFixPTask::OptFixPTask | ( | void |  | ) |

inline

Default constructor.

Definition at line 465 of file task.hpp.

## OptFixPTask() [2/2]

Gecode::Int::Unary::OptFixPTask::OptFixPTask | ( | IntVar | s,
|  | int | p,
|  | BoolVar | m )

inline

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

Definition at line 467 of file task.hpp.

## Member Function Documentation

## init()

void Gecode::Int::Unary::OptFixPTask::init | ( | IntVar | s,
|  | int | p,
|  | BoolVar | m )

inline

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

Definition at line 471 of file task.hpp.

## Friends And Related Symbol Documentation

## operator<<()

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

Definition at line 471 of file task.hpp.

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

- gecode/int/unary.hh
- gecode/int/unary/task.hpp