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

Neighbor acceptance criterion interface. More...

#include <routing_ils.h>

Public Member Functions

virtual ~NeighborAcceptanceCriterion ()=default
 
virtual bool Accept (const Assignment *candidate, const Assignment *reference) const =0
 Returns whether candidate should replace reference.
 

Detailed Description

Neighbor acceptance criterion interface.

Definition at line 68 of file routing_ils.h.

Constructor & Destructor Documentation

◆ ~NeighborAcceptanceCriterion()

virtual operations_research::NeighborAcceptanceCriterion::~NeighborAcceptanceCriterion ( )
virtualdefault

Member Function Documentation

◆ Accept()

virtual bool operations_research::NeighborAcceptanceCriterion::Accept ( const Assignment * candidate,
const Assignment * reference ) const
pure virtual

Returns whether candidate should replace reference.


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