Generated on Sat Aug 25 2012 15:53:12 for Gecode by doxygen 1.7.5
Gecode::Int::Cumulative::ManFixPSETask Class Reference

Cumulative (mandatory) task with fixed processing, start or end time. More...

#include <cumulative.hh>

List of all members.

Protected Attributes

int _c
 Required capacity.

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

Constructors and initialization

 ManFixPSETask (void)
 Default constructor.
 ManFixPSETask (TaskType t, IntVar s, int p, int c)
 Initialize task.
void init (TaskType t, IntVar s, int p, int c)
 Initialize task.
void init (const ManFixPSETask &t)
 Initialize from task t.

Value access

int c (void) const
 Return required capacity.
double e (void) const
 Return required energy.

Cloning

void update (Space &home, bool share, ManFixPSETask &t)
 Update this task to be a clone of task t.

Detailed Description

Cumulative (mandatory) task with fixed processing, start or end time.


Constructor & Destructor Documentation

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

Default constructor.

Reimplemented from Gecode::Int::Unary::ManFixPSETask.

Definition at line 88 of file task.hpp.

Gecode::Int::Cumulative::ManFixPSETask::ManFixPSETask ( TaskType  t,
IntVar  s,
int  p,
int  c 
) [inline]

Initialize task.

Depending on t, s is either the end time (if t is FIXS) or the start time of the task, p is the fixed parameter, and c is the required capacity.

Definition at line 90 of file task.hpp.


Member Function Documentation

void Gecode::Int::Cumulative::ManFixPSETask::init ( TaskType  t,
IntVar  s,
int  p,
int  c 
) [inline]

Initialize task.

Depending on t, s is either the end time (if t is FIXS) or the start time of the task, p is the fixed parameter, and c is the required capacity.

Definition at line 93 of file task.hpp.

void Gecode::Int::Cumulative::ManFixPSETask::init ( const ManFixPSETask t) [inline]

Initialize from task t.

Definition at line 97 of file task.hpp.

int Gecode::Int::Cumulative::ManFixPSETask::c ( void  ) const [inline]

Return required capacity.

Definition at line 102 of file task.hpp.

double Gecode::Int::Cumulative::ManFixPSETask::e ( void  ) const [inline]

Return required energy.

Definition at line 106 of file task.hpp.

void Gecode::Int::Cumulative::ManFixPSETask::update ( Space home,
bool  share,
ManFixPSETask t 
) [inline]

Update this task to be a clone of task t.

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

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

Definition at line 117 of file task.hpp.


Member Data Documentation

Required capacity.

Definition at line 107 of file cumulative.hh.


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