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

Detailed Description

Definition at line 35 of file routing_ils.h.

#include <routing_ils.h>

Public Member Functions

 RoutingSolution (const RoutingModel &model)
void Reset (const Assignment *assignment)
void InitializeRouteInfoIfNeeded (int vehicle)
bool BelongsToInitializedRoute (int64_t node) const
int64_t GetNextNodeIndex (int64_t node) const
int64_t GetInitializedPrevNodeIndex (int64_t node) const
int GetRouteSize (int vehicle) const
bool CanBeRemoved (int64_t node) const
void RemoveNode (int64_t node)
void RemovePerformedPickupDeliverySibling (int64_t node)
int64_t GetRandomAdjacentVisit (int64_t visit, std::mt19937 &rnd, std::bernoulli_distribution &boolean_dist) const
std::vector< int64_t > GetRandomSequenceOfVisits (int64_t seed_visit, std::mt19937 &rnd, std::bernoulli_distribution &boolean_dist, int size) const

Constructor & Destructor Documentation

◆ RoutingSolution()

operations_research::RoutingSolution::RoutingSolution ( const RoutingModel & model)
explicit

Definition at line 622 of file routing_ils.cc.

Member Function Documentation

◆ BelongsToInitializedRoute()

bool operations_research::RoutingSolution::BelongsToInitializedRoute ( int64_t node) const

Definition at line 671 of file routing_ils.cc.

◆ CanBeRemoved()

bool operations_research::RoutingSolution::CanBeRemoved ( int64_t node) const

Definition at line 692 of file routing_ils.cc.

◆ GetInitializedPrevNodeIndex()

int64_t operations_research::RoutingSolution::GetInitializedPrevNodeIndex ( int64_t node) const

Definition at line 682 of file routing_ils.cc.

◆ GetNextNodeIndex()

int64_t operations_research::RoutingSolution::GetNextNodeIndex ( int64_t node) const

Definition at line 676 of file routing_ils.cc.

◆ GetRandomAdjacentVisit()

int64_t operations_research::RoutingSolution::GetRandomAdjacentVisit ( int64_t visit,
std::mt19937 & rnd,
std::bernoulli_distribution & boolean_dist ) const

Definition at line 736 of file routing_ils.cc.

◆ GetRandomSequenceOfVisits()

std::vector< int64_t > operations_research::RoutingSolution::GetRandomSequenceOfVisits ( int64_t seed_visit,
std::mt19937 & rnd,
std::bernoulli_distribution & boolean_dist,
int size ) const

Definition at line 762 of file routing_ils.cc.

◆ GetRouteSize()

int operations_research::RoutingSolution::GetRouteSize ( int vehicle) const

Definition at line 687 of file routing_ils.cc.

◆ InitializeRouteInfoIfNeeded()

void operations_research::RoutingSolution::InitializeRouteInfoIfNeeded ( int vehicle)

Definition at line 641 of file routing_ils.cc.

◆ RemoveNode()

void operations_research::RoutingSolution::RemoveNode ( int64_t node)

Definition at line 697 of file routing_ils.cc.

◆ RemovePerformedPickupDeliverySibling()

void operations_research::RoutingSolution::RemovePerformedPickupDeliverySibling ( int64_t node)

Definition at line 717 of file routing_ils.cc.

◆ Reset()

void operations_research::RoutingSolution::Reset ( const Assignment * assignment)

Definition at line 630 of file routing_ils.cc.


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