public class SolutionPool extends BaseObject
swigCMemOwn
Constructor and Description |
---|
SolutionPool(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(SolutionPool obj) |
void |
getNextSolution(Assignment assignment)
This method is called when the local search starts a new neighborhood to
initialize the default assignment. |
void |
initialize(Assignment assignment)
This method is called to initialize the solution pool with the assignment
from the local search. |
void |
registerNewSolution(Assignment assignment)
This method is called when a new solution has been accepted by the local
search. |
static long |
swigRelease(SolutionPool obj) |
boolean |
syncNeeded(Assignment local_assignment)
This method checks if the local solution needs to be updated with
an external one. |
getCPtr, swigRelease, toString
public static long getCPtr(SolutionPool obj)
public static long swigRelease(SolutionPool obj)
protected void finalize()
finalize
in class BaseObject
public void delete()
delete
in class BaseObject
public void initialize(Assignment assignment)
public void registerNewSolution(Assignment assignment)
public void getNextSolution(Assignment assignment)
public boolean syncNeeded(Assignment local_assignment)
Copyright © 2025. All rights reserved.