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