![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Path container which only stores distances between path nodes. More...
#include <shortest_paths.h>
Public Member Functions | |
DistanceContainer () | |
DistanceContainer (const DistanceContainer &)=delete | |
This type is neither copyable nor movable. | |
DistanceContainer & | operator= (const DistanceContainer &)=delete |
~DistanceContainer () override=default | |
void | Initialize (const std::vector< NodeIndex > &sources, const std::vector< NodeIndex > &destinations, NodeIndex num_nodes) override |
PathDistance | GetDistance (NodeIndex from, NodeIndex to) const override |
NodeIndex | GetPenultimateNodeInPath (NodeIndex, NodeIndex) const override |
void | GetPath (NodeIndex, NodeIndex, std::vector< NodeIndex > *) const override |
void | StoreSingleSourcePaths (NodeIndex from, const std::vector< NodeIndex > &, const std::vector< PathDistance > &distance_to_destination) override |
Protected Attributes | |
std::vector< int > | reverse_sources_ |
std::vector< int > | reverse_destinations_ |
Path container which only stores distances between path nodes.
Definition at line 458 of file shortest_paths.h.
|
inline |
Definition at line 460 of file shortest_paths.h.
|
delete |
This type is neither copyable nor movable.
|
overridedefault |
|
inlineoverride |
Definition at line 474 of file shortest_paths.h.
|
inlineoverride |
Definition at line 481 of file shortest_paths.h.
|
inlineoverride |
Definition at line 477 of file shortest_paths.h.
|
inlineoverride |
Definition at line 466 of file shortest_paths.h.
|
delete |
|
inlineoverride |
Definition at line 484 of file shortest_paths.h.
|
protected |
Definition at line 494 of file shortest_paths.h.
|
protected |
Definition at line 493 of file shortest_paths.h.