FRAMES NO FRAMES

IloTimeWindowBackwardChronologicalComparator

public IloComparator< IloTimeWindowNHoodI::IloTimeWindow > IloTimeWindowBackwardChronologicalComparator(IloEnv env)
Definition file: ilsched/ilolnsgoals.h
Include file: <ilsched/iloscheduler.h>

This function returns a predefined time interval comparator. The comparator compares two instances of the class IloTimeWindowNHoodI::IloTimeWindow, tw1 and tw2. The time interval tw1 is less than time interval tw2 if the end of tw1 is greater than the end of tw2. If the ends are equal, it compares the starts of both intervals. The comparator is allocated on the memory allocation stack of env.

See IloComparator in the IBM ILOG Solver Reference Manual for more information.

See Also:


IloTimeWindowBackwardChronologicalComparator

public IloComparator< IloTimeWindowNHoodI::IloTimeWindow > IloTimeWindowBackwardChronologicalComparator(IloSolver solver)
Definition file: ilsched/ilolnsgoals.h
Include file: <ilsched/iloscheduler.h>

This function returns a predefined time interval comparator. The comparator compares two instances of the class IloTimeWindowNHoodI::IloTimeWindow, tw1 and tw2. The time interval tw1 is less than time interval tw2 if the end of tw1 is greater than the end of tw2. If the ends are equal, it compares the starts of both intervals. The comparator is allocated on the memory allocation stack of solver.

See IloComparator in the IBM ILOG Solver Reference Manual for more information.

See Also: