FRAMES NO FRAMES

Class IloSearchLimit

Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

An instance of this class represents a search limit in a Concert Technology model. Search limits are useful in goals (such as the goal returned by IloLimitSearch or other instances of IloGoal) to limit the exploration of the search tree during the search for a solution.

There are predefined functions in Concert Technology that create and return a search limit, such as IloFailLimit, IloOrLimit, and IloTimeLimit.

See Also:

Constructor Summary
public IloSearchLimit()
public IloSearchLimit(IloSearchLimitI * impl)
Method Summary
public voidend() const
public IloSearchLimitI *getImpl() const
public voidoperator=(const IloSearchLimit & h)
Constructor Detail

IloSearchLimit

public IloSearchLimit()

This constructor creates an empty handle. You must initialize it before you use it.


IloSearchLimit

public IloSearchLimit(IloSearchLimitI * impl)

This constructor creates a handle object from a pointer to an implementation object.


Method Detail

end

public void end() const
This member function ends the corresponding search limit and returns the memory to the environment.

getImpl

public IloSearchLimitI * getImpl() const
This constructor creates an object by copying another one.

This member function returns a pointer to the implementation object of the invoking handle.


operator=

public void operator=(const IloSearchLimit & h)

This operator assigns an address to the handle pointer of the invoking object. That address is the location of the implementation object of the provided argument.