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

operations_research::FindOneNeighbor Class Reference

Finds a neighbor of the assignment passed. More...

Inheritance diagram for operations_research::FindOneNeighbor:

operations_research::DecisionBuilder operations_research::BaseObject

List of all members.

Public Member Functions

 FindOneNeighbor (Assignment *const assignment, SolutionPool *const pool, LocalSearchOperator *const ls_operator, DecisionBuilder *const sub_decision_builder, const SearchLimit *const limit, const std::vector< LocalSearchFilter * > &filters)
 reference_assignment_ is used to keep track of the last assignment on which operators were started, assignment_ corresponding to the last successful neighbor.
virtual ~FindOneNeighbor ()
virtual DecisionNext (Solver *const solver)
 This is the main method of the decision builder class.
virtual string DebugString () const
 Decision Builder.


Detailed Description

Finds a neighbor of the assignment passed.

Definition at line 2738 of file local_search.cc.


Constructor & Destructor Documentation

operations_research::FindOneNeighbor::FindOneNeighbor ( Assignment *const   assignment,
SolutionPool *const   pool,
LocalSearchOperator *const   ls_operator,
DecisionBuilder *const   sub_decision_builder,
const SearchLimit *const   limit,
const std::vector< LocalSearchFilter * > &  filters 
)

reference_assignment_ is used to keep track of the last assignment on which operators were started, assignment_ corresponding to the last successful neighbor.

Definition at line 2771 of file local_search.cc.

virtual operations_research::FindOneNeighbor::~FindOneNeighbor (  )  [inline, virtual]

Definition at line 2746 of file local_search.cc.


Member Function Documentation

Decision * operations_research::FindOneNeighbor::Next ( Solver *const   s  )  [virtual]

This is the main method of the decision builder class.

It must return a decision (an instance of the class Decision). If it returns NULL, this means that the decision builder has finished its work.

Implements operations_research::DecisionBuilder.

Definition at line 2798 of file local_search.cc.

virtual string operations_research::FindOneNeighbor::DebugString (  )  const [inline, virtual]

Decision Builder.

Reimplemented from operations_research::DecisionBuilder.

Definition at line 2748 of file local_search.cc.


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