Java Reference
Java Reference
SolutionPool.java
Go to the documentation of this file.
53 mainJNI.SolutionPool_registerNewSolution(swigCPtr, this, Assignment.getCPtr(assignment), assignment);
60 mainJNI.SolutionPool_getNextSolution(swigCPtr, this, Assignment.getCPtr(assignment), assignment);
67 return mainJNI.SolutionPool_syncNeeded(swigCPtr, this, Assignment.getCPtr(local_assignment), local_assignment);
SolutionPool(long cPtr, boolean cMemoryOwn)
Definition: SolutionPool.java:17
void getNextSolution(Assignment assignment)
This method is called when the local search starts a new neighborhood to initialize the default assig...
Definition: SolutionPool.java:59
This class is used to manage a pool of solutions.
Definition: SolutionPool.java:14
void initialize(Assignment assignment)
This method is called to initialize the solution pool with the assignment from the local search.
Definition: SolutionPool.java:45
boolean syncNeeded(Assignment local_assignment)
This method checks if the local solution needs to be updated with an external one.
Definition: SolutionPool.java:66
An Assignment is a variable -> domains mapping, used to report solutions to the user.
Definition: Assignment.java:14
A BaseObject is the root of all reversibly allocated objects.
Definition: BaseObject.java:14
void registerNewSolution(Assignment assignment)
This method is called when a new solution has been accepted by the local search.
Definition: SolutionPool.java:52