FRAMES NO FRAMES

IloTimeWindowForwardChronologicalComparator

public IloComparator< IloTimeWindowNHoodI::IloTimeWindow > IloTimeWindowForwardChronologicalComparator(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 start of tw1 is less than the start of tw2. If the starts are equal, it compares the ends 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:


IloTimeWindowForwardChronologicalComparator

public IloComparator< IloTimeWindowNHoodI::IloTimeWindow > IloTimeWindowForwardChronologicalComparator(IloEnv env)
Definition file: ilsched/ilolnsgoals.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 start of tw1 is less than the start of tw2. If the starts are equal, it compares the ends 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: