Java Reference

Java Reference

SolutionPool

Detailed Description

This class is used to manage a pool of solutions.

It can transform a single point local search into a multipoint local search.

Definition at line 14 of file SolutionPool.java.

Public Member Functions

synchronized void delete ()
 
void initialize (Assignment assignment)
 This method is called to initialize the solution pool with the assignment from the local search. More...
 
void registerNewSolution (Assignment assignment)
 This method is called when a new solution has been accepted by the local search. More...
 
void getNextSolution (Assignment assignment)
 This method is called when the local search starts a new neighborhood to initialize the default assignment. More...
 
boolean syncNeeded (Assignment local_assignment)
 This method checks if the local solution needs to be updated with an external one. More...
 
String toString ()
 

Protected Member Functions

 SolutionPool (long cPtr, boolean cMemoryOwn)
 

Constructor & Destructor Documentation

◆ SolutionPool()

SolutionPool ( long  cPtr,
boolean  cMemoryOwn 
)
inlineprotected

Definition at line 17 of file SolutionPool.java.

Member Function Documentation

◆ delete()

synchronized void delete ( )
inline

Reimplemented from BaseObject.

Definition at line 31 of file SolutionPool.java.

◆ getNextSolution()

void getNextSolution ( Assignment  assignment)
inline

This method is called when the local search starts a new neighborhood to initialize the default assignment.

Definition at line 59 of file SolutionPool.java.

◆ initialize()

void initialize ( Assignment  assignment)
inline

This method is called to initialize the solution pool with the assignment from the local search.

Definition at line 45 of file SolutionPool.java.

◆ registerNewSolution()

void registerNewSolution ( Assignment  assignment)
inline

This method is called when a new solution has been accepted by the local search.

Definition at line 52 of file SolutionPool.java.

◆ syncNeeded()

boolean syncNeeded ( Assignment  local_assignment)
inline

This method checks if the local solution needs to be updated with an external one.

Definition at line 66 of file SolutionPool.java.

◆ toString()


The documentation for this class was generated from the following file: