Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::SweepArranger Class Reference

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 1490 of file routing_search.h.

#include <routing_search.h>

Public Member Functions

 SweepArranger (absl::Span< const std::pair< int64_t, int64_t > > points)
 SweepArranger (const SweepArranger &)=delete
SweepArrangeroperator= (const SweepArranger &)=delete
virtual ~SweepArranger ()=default
void ArrangeIndices (std::vector< int64_t > *indices)
void SetSectors (int sectors)

Constructor & Destructor Documentation

◆ SweepArranger() [1/2]

operations_research::SweepArranger::SweepArranger ( absl::Span< const std::pair< int64_t, int64_t > > points)
explicit

Definition at line 4892 of file routing_search.cc.

◆ SweepArranger() [2/2]

operations_research::SweepArranger::SweepArranger ( const SweepArranger & )
delete

◆ ~SweepArranger()

virtual operations_research::SweepArranger::~SweepArranger ( )
virtualdefault

Member Function Documentation

◆ ArrangeIndices()

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

Definition at line 4903 of file routing_search.cc.

◆ operator=()

SweepArranger & operations_research::SweepArranger::operator= ( const SweepArranger & )
delete

◆ SetSectors()

void operations_research::SweepArranger::SetSectors ( int sectors)
inline

Definition at line 1500 of file routing_search.h.


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