Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solver.h>
Public Member Functions | |
SolutionPool () | |
virtual | ~SolutionPool () |
virtual void | Initialize (Assignment *const assignment)=0 |
This method is called to initialize the solution pool with the assignment from the local search. | |
virtual void | RegisterNewSolution (Assignment *const assignment)=0 |
This method is called when a new solution has been accepted by the local search. | |
virtual void | GetNextSolution (Assignment *const assignment)=0 |
This method is called when the local search starts a new neighborhood to initialize the default assignment. | |
virtual bool | SyncNeeded (Assignment *const local_assignment)=0 |
This method checks if the local solution needs to be updated with an external one. |
This class is used to manage a pool of solutions. It can transform a single point local search into a multi point local search.
Definition at line 4938 of file constraint_solver.h.
operations_research::SolutionPool::SolutionPool | ( | ) | [inline] |
Definition at line 4940 of file constraint_solver.h.
virtual operations_research::SolutionPool::~SolutionPool | ( | ) | [inline, virtual] |
Definition at line 4941 of file constraint_solver.h.
virtual void operations_research::SolutionPool::Initialize | ( | Assignment *const | assignment | ) | [pure virtual] |
This method is called to initialize the solution pool with the assignment from the local search.
virtual void operations_research::SolutionPool::RegisterNewSolution | ( | Assignment *const | assignment | ) | [pure virtual] |
This method is called when a new solution has been accepted by the local search.
virtual void operations_research::SolutionPool::GetNextSolution | ( | Assignment *const | assignment | ) | [pure virtual] |
This method is called when the local search starts a new neighborhood to initialize the default assignment.
virtual bool operations_research::SolutionPool::SyncNeeded | ( | Assignment *const | local_assignment | ) | [pure virtual] |
This method checks if the local solution needs to be updated with an external one.