FRAMES NO FRAMES

Class IloTimeWindowNHoodI::IloTimeWindow

Definition file: ilsched/ilolnsgoals.h
Include file: <ilsched/iloscheduler.h>

The embedded class IloTimeWindow represents a time interval [start..end).

Method Summary
public voiddisplay(ostream & stream) const
public IloIntgetDuration() const
public IloIntgetEnd() const
public IloIntgetStart() const
public IloBoolintersects(const IloTimeWindow & tw) const
public IloBooloperator==(const IloTimeWindow & tw) const
Method Detail

display

public void display(ostream & stream) const

This member function displays the time interval of [start..end) where start is the start of the time time interval and end is the end of the time interval.


getDuration

public IloInt getDuration() const

This member function returns the duration of the time interval.


getEnd

public IloInt getEnd() const

This member function returns the end of the time interval.


getStart

public IloInt getStart() const

This member function returns the start of the time interval.


intersects

public IloBool intersects(const IloTimeWindow & tw) const

This member function returns IloTrue if the time window provided as argument intersects with this time window.


operator==

public IloBool operator==(const IloTimeWindow & tw) const

This member function returns IloTrue if the time window provided as argument starts and ends at the same time as this time window.