OR-Tools  9.3
SweepArranger

Detailed Description

Class to arrange indices by their distance and their angle from the depot.

Used in the Sweep first solution heuristic.

Definition at line 1083 of file routing_search.h.

Public Member Functions

 SweepArranger (const std::vector< std::pair< int64_t, int64_t > > &points)
 
virtual ~SweepArranger ()
 
void ArrangeIndices (std::vector< int64_t > *indices)
 
void SetSectors (int sectors)
 

Constructor & Destructor Documentation

◆ SweepArranger()

SweepArranger ( const std::vector< std::pair< int64_t, int64_t > > &  points)
explicit

Definition at line 3757 of file routing_search.cc.

◆ ~SweepArranger()

virtual ~SweepArranger ( )
inlinevirtual

Definition at line 1087 of file routing_search.h.

Member Function Documentation

◆ ArrangeIndices()

void ArrangeIndices ( std::vector< int64_t > *  indices)

Definition at line 3768 of file routing_search.cc.

◆ SetSectors()

void SetSectors ( int  sectors)
inline

Definition at line 1089 of file routing_search.h.


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