OR-Tools  8.2
NeighborhoodLimit

Detailed Description

Definition at line 1851 of file local_search.cc.

Public Member Functions

 NeighborhoodLimit (LocalSearchOperator *const op, int64 limit)
 
void Start (const Assignment *assignment) override
 
bool MakeNextNeighbor (Assignment *delta, Assignment *deltadelta) override
 
bool HoldsDelta () const override
 
std::string DebugString () const override
 
virtual void Reset ()
 
virtual const LocalSearchOperatorSelf () const
 
virtual bool HasFragments () const
 

Constructor & Destructor Documentation

◆ NeighborhoodLimit()

NeighborhoodLimit ( LocalSearchOperator *const  op,
int64  limit 
)
inline

Definition at line 1853 of file local_search.cc.

Member Function Documentation

◆ DebugString()

std::string DebugString ( ) const
inlineoverridevirtual

Reimplemented from BaseObject.

Definition at line 1874 of file local_search.cc.

◆ HasFragments()

virtual bool HasFragments ( ) const
inlinevirtualinherited

Reimplemented in BaseLns, and PathLns.

Definition at line 808 of file constraint_solveri.h.

◆ HoldsDelta()

bool HoldsDelta ( ) const
inlineoverridevirtual

Reimplemented from LocalSearchOperator.

Definition at line 1872 of file local_search.cc.

◆ MakeNextNeighbor()

bool MakeNextNeighbor ( Assignment delta,
Assignment deltadelta 
)
inlineoverridevirtual

Implements LocalSearchOperator.

Definition at line 1864 of file local_search.cc.

◆ Reset()

virtual void Reset ( )
inlinevirtualinherited

Reimplemented in PathOperator.

Definition at line 804 of file constraint_solveri.h.

◆ Self()

virtual const LocalSearchOperator * Self ( ) const
inlinevirtualinherited

Definition at line 806 of file constraint_solveri.h.

◆ Start()

void Start ( const Assignment assignment)
inlineoverridevirtual

Implements LocalSearchOperator.

Definition at line 1859 of file local_search.cc.


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