Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <routing_search.h>
Public Member Functions | |
SweepArranger (const std::vector< std::pair< int64_t, int64_t > > &points) | |
SweepArranger (const SweepArranger &)=delete | |
This type is neither copyable nor movable. | |
SweepArranger & | operator= (const SweepArranger &)=delete |
virtual | ~SweepArranger () |
void | ArrangeIndices (std::vector< int64_t > *indices) |
void | SetSectors (int sectors) |
Class to arrange indices by their distance and their angle from the depot. Used in the Sweep first solution heuristic.
Definition at line 1431 of file routing_search.h.
|
explicit |
Definition at line 4186 of file routing_search.cc.
|
delete |
This type is neither copyable nor movable.
|
inlinevirtual |
Definition at line 1440 of file routing_search.h.
void operations_research::SweepArranger::ArrangeIndices | ( | std::vector< int64_t > * | indices | ) |
Splits the space of the indices into sectors and sorts the indices of each sector with ascending angle from the depot.
Suppose that the center is at x0, y0.
Definition at line 4197 of file routing_search.cc.
|
delete |
|
inline |
Definition at line 1442 of file routing_search.h.