![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Neighbor acceptance criterion interface. More...
#include <routing_ils.h>
Classes | |
struct | SearchState |
Representation of the search process state. More... | |
Public Member Functions | |
virtual | ~NeighborAcceptanceCriterion ()=default |
virtual bool | Accept (const SearchState &search_state, const Assignment *candidate, const Assignment *reference)=0 |
Neighbor acceptance criterion interface.
Definition at line 252 of file routing_ils.h.
|
virtualdefault |
|
pure virtual |
Returns whether candidate
should replace reference
given the provided search state.