Generated on Thu Mar 22 10:39:56 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Cumulative::OptFixPTask Class Reference

Cumulative optional task with fixed processing time. More...

#include <cumulative.hh>

List of all members.

Public Member Functions

 operator Unary::OptFixPTask (void)
 Cast to corresponding unary task.

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

Constructors and initialization



 OptFixPTask (void)
 Default constructor.
 OptFixPTask (IntVar s, int p, int c, BoolVar m)
 Initialize with start time s, processing time p, required capacity c, and mandatory flag m.
void init (IntVar s, int p, int c, BoolVar m)
 Initialize with start time s, processing time p, required capacity c, and mandatory flag m.

Detailed Description

Cumulative optional task with fixed processing time.

Definition at line 201 of file cumulative.hh.


Constructor & Destructor Documentation

Gecode::Int::Cumulative::OptFixPTask::OptFixPTask ( void   )  [inline]

Default constructor.

Definition at line 171 of file task.hpp.

Gecode::Int::Cumulative::OptFixPTask::OptFixPTask ( 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 173 of file task.hpp.


Member Function Documentation

void Gecode::Int::Cumulative::OptFixPTask::init ( 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 177 of file task.hpp.

Gecode::Int::Cumulative::OptFixPTask::operator Unary::OptFixPTask ( void   )  [inline]

Cast to corresponding unary task.

Definition at line 181 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 OptFixPTask t 
) [related]

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

Definition at line 187 of file task.hpp.


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