FRAMES NO FRAMES

Class IloNeighborIdentifier

Definition file: ilsolver/iimnhood.h
Include file: <ilsolver/local.h>

This class communicates information between instances of local search goals. This class is used by IloScanNHood and IloScanDeltas to store information about the currently instantiated neighbor. This class is used by IloTest and IloNotify to find out the details of the currently instantiated neighbor. This information can be communicated by passing the same instance of IloNeighborIdentifier to such goals in a composed goal.

An instance of this class is extracted by an instance of IloSolver to an instance of IlcNeighborIdentifier.

See Also:

Constructor Summary
public IloNeighborIdentifier()
public IloNeighborIdentifier(IloNeighborIdentifierI * impl)
public IloNeighborIdentifier(IloEnv env)
Method Summary
public IloNeighborIdentifierI *getImpl() const
Inherited Methods from IloExtractable
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, setName, setObject
Constructor Detail

IloNeighborIdentifier

public IloNeighborIdentifier()
This constructor creates an empty handle. You must initialize it before you use it.

IloNeighborIdentifier

public IloNeighborIdentifier(IloNeighborIdentifierI * impl)
This constructor creates a handle object from a pointer to an implementation object.

IloNeighborIdentifier

public IloNeighborIdentifier(IloEnv env)

This constructor creates an instance of IloNeighborIdentifier associated with env.


Method Detail

getImpl

public IloNeighborIdentifierI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.