An event collects the information for one evnet for the sweep-line. More...
#include <val.hpp>
Public Member Functions | |
Event (ev_t _e, int _task, int _date, int _inc=0, bool _first_prof=false) | |
Simple constructor. | |
Event (void) | |
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 |
An event collects the information for one evnet for the sweep-line.
Gecode::Int::Cumulatives::Event::Event | ( | ev_t | _e, |
int | _task, | ||
int | _date, | ||
int | _inc = 0 , |
||
bool | _first_prof = false |
||
) | [inline] |
bool Gecode::Int::Cumulatives::Event::operator< | ( | const Event & | ev | ) | const [inline] |