Generated on Wed Nov 1 15:05:17 2006 for Gecode by doxygen 1.4.5

Gecode::Int::Cumulatives::Event Class Reference

List of all members.

Detailed Description

An event collects the information for one evnet for the sweep-line.

Definition at line 135 of file val.icc.

Public Member Functions

 Event (ev_t _e, int _task, int _date, int _inc=0, bool _first_prof=false)
 Simple constructor.
bool operator< (const Event &e)
 Order events based on date.

Public Attributes

ev_t e
 The type of the event.
int task
 The task this event refers to.
int date
 The date of this event.
int inc
 The quantity changed by this event (if any).
bool first_prof


Constructor & Destructor Documentation

Gecode::Int::Cumulatives::Event::Event ev_t  _e,
int  _task,
int  _date,
int  _inc = 0,
bool  _first_prof = false
[inline]
 

Simple constructor.

Definition at line 153 of file val.icc.


Member Function Documentation

bool Gecode::Int::Cumulatives::Event::operator< const Event e  )  [inline]
 

Order events based on date.

Definition at line 158 of file val.icc.


Member Data Documentation

ev_t Gecode::Int::Cumulatives::Event::e
 

The type of the event.

Definition at line 139 of file val.icc.

int Gecode::Int::Cumulatives::Event::task
 

The task this event refers to.

Definition at line 141 of file val.icc.

int Gecode::Int::Cumulatives::Event::date
 

The date of this event.

Definition at line 143 of file val.icc.

int Gecode::Int::Cumulatives::Event::inc
 

The quantity changed by this event (if any).

Definition at line 145 of file val.icc.

bool Gecode::Int::Cumulatives::Event::first_prof
 

If the type is EVENT_PROF and it is the first of the pair, this value is true. Added to handle contribution-values correctly for both at_most and at_least.

Definition at line 150 of file val.icc.


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