| Overview | Group | Tree | Graph | Index | Concepts |

An instance of this class represents an activity neighborhood.
See IloComparator and IloPredicate in the IBM ILOG Solver Reference Manual for more information.
See Also:
| Constructor Summary | |
|---|---|
public | IloRelocateActivityNHoodI(IloEnv env, IloComparator< IloActivity > comparator, IloPredicate< IloActivity > predicate, const char * name) |
| Method Summary | |
|---|---|
public virtual IloSolution | defineSelected(IloSolver solver, IloInt index) |
| Constructor Detail |
|---|
This constructor creates an activity neighborhood.
The parameter comparator is used (if it is not an empty
handle) to specify in which order the activities should be
considered. When applied the comparator receives as argument the
neighborhood.
The parameter predicate is used to specify which
activities to consider. The size of this neighborhood is the
number of activities in the current solution for which this
predicate returns IloTrue. In case the predicate is
an empty handle, the size of this neighborhood is the number
of activities in the current solution.
| Method Detail |
|---|
This pure virtual member function returns the set of
decision variables, or instances of IloExtractable, on which
to focus the search.