Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ constraint_solver/

operations_research::SolutionPool Class Reference

SolutionPool. More...

#include <constraint_solver.h>

Inheritance diagram for operations_research::SolutionPool:

operations_research::BaseObject

List of all members.

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.


Detailed Description

SolutionPool.

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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