C++ Reference

C++ Reference: Routing

SweepArranger

Detailed Description

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

Used in the Sweep first solution heuristic.

Definition at line 2639 of file routing.h.

Public Member Functions

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

Constructor & Destructor Documentation

◆ SweepArranger()

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

◆ ~SweepArranger()

virtual ~SweepArranger ( )
inlinevirtual

Definition at line 2642 of file routing.h.

Member Function Documentation

◆ ArrangeIndices()

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

◆ SetSectors()

void SetSectors ( int  sectors)
inline

Definition at line 2644 of file routing.h.


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