Generated on Mon Aug 25 11:35:51 2008 for Gecode by doxygen 1.5.6

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 194 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 &ev) const
 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 212 of file val.icc.


Member Function Documentation

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

Order events based on date.

Definition at line 217 of file val.icc.


Member Data Documentation

The type of the event.

Definition at line 198 of file val.icc.

The task this event refers to.

Definition at line 200 of file val.icc.

The date of this event.

Definition at line 202 of file val.icc.

The quantity changed by this event (if any).

Definition at line 204 of file val.icc.

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 209 of file val.icc.


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