Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::NeighborhoodLimit Class Reference

--— Limit the number of neighborhoods explored --— More...

Inheritance diagram for operations_research::NeighborhoodLimit:
operations_research::LocalSearchOperator operations_research::BaseObject

Public Member Functions

 NeighborhoodLimit (LocalSearchOperator *const op, int64_t limit)
 
void Start (const Assignment *assignment) override
 
bool MakeNextNeighbor (Assignment *delta, Assignment *deltadelta) override
 
bool HoldsDelta () const override
 
std::string DebugString () const override
 
- Public Member Functions inherited from operations_research::LocalSearchOperator
 LocalSearchOperator ()
 
 ~LocalSearchOperator () override
 
virtual void Reset ()
 
virtual const LocalSearchOperatorSelf () const
 
virtual bool HasFragments () const
 
- Public Member Functions inherited from operations_research::BaseObject
 BaseObject ()
 
 BaseObject (const BaseObject &)=delete
 This type is neither copyable nor movable.
 
BaseObjectoperator= (const BaseObject &)=delete
 
virtual ~BaseObject ()
 

Detailed Description

--— Limit the number of neighborhoods explored --—

Definition at line 1999 of file local_search.cc.

Constructor & Destructor Documentation

◆ NeighborhoodLimit()

operations_research::NeighborhoodLimit::NeighborhoodLimit ( LocalSearchOperator *const op,
int64_t limit )
inline

Definition at line 2001 of file local_search.cc.

Member Function Documentation

◆ DebugString()

std::string operations_research::NeighborhoodLimit::DebugString ( ) const
inlineoverridevirtual

Reimplemented from operations_research::BaseObject.

Definition at line 2022 of file local_search.cc.

◆ HoldsDelta()

bool operations_research::NeighborhoodLimit::HoldsDelta ( ) const
inlineoverridevirtual

Reimplemented from operations_research::LocalSearchOperator.

Definition at line 2020 of file local_search.cc.

◆ MakeNextNeighbor()

bool operations_research::NeighborhoodLimit::MakeNextNeighbor ( Assignment * delta,
Assignment * deltadelta )
inlineoverridevirtual

Implements operations_research::LocalSearchOperator.

Definition at line 2012 of file local_search.cc.

◆ Start()

void operations_research::NeighborhoodLimit::Start ( const Assignment * assignment)
inlineoverridevirtual

Implements operations_research::LocalSearchOperator.

Definition at line 2007 of file local_search.cc.


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