Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
--— Lin Kernighan --— More...
Public Member Functions | |
NearestNeighbors (Solver::IndexEvaluator3 evaluator, const PathOperator &path_operator, int size) | |
NearestNeighbors (const NearestNeighbors &)=delete | |
This type is neither copyable nor movable. | |
NearestNeighbors & | operator= (const NearestNeighbors &)=delete |
virtual | ~NearestNeighbors () |
void | Initialize () |
const std::vector< int > & | Neighbors (int index) const |
virtual std::string | DebugString () const |
--— Lin Kernighan --—
For each variable in vars, stores the 'size' pairs(i,j) with the smallest value according to evaluator, where i is the index of the variable in vars and j is in the domain of the variable.
Definition at line 1728 of file local_search.cc.
operations_research::NearestNeighbors::NearestNeighbors | ( | Solver::IndexEvaluator3 | evaluator, |
const PathOperator & | path_operator, | ||
int | size ) |
Definition at line 1753 of file local_search.cc.
|
delete |
This type is neither copyable nor movable.
|
inlinevirtual |
Definition at line 1737 of file local_search.cc.
|
inlinevirtual |
Definition at line 1741 of file local_search.cc.
void operations_research::NearestNeighbors::Initialize | ( | ) |
Definition at line 1760 of file local_search.cc.
const std::vector< int > & operations_research::NearestNeighbors::Neighbors | ( | int | index | ) | const |
Definition at line 1771 of file local_search.cc.
|
delete |