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

Detailed Description

Definition at line 208 of file routing.h.

#include <routing.h>

Public Member Functions

 PathsMetadata (const RoutingIndexManager &manager)
bool IsStart (int64_t node) const
bool IsEnd (int64_t node) const
int GetPath (int64_t start_or_end_node) const
int NumPaths () const
const std::vector< int64_t > & Paths () const
const std::vector< int64_t > & Starts () const
int64_t Start (int path) const
int64_t End (int path) const
const std::vector< int64_t > & Ends () const

Constructor & Destructor Documentation

◆ PathsMetadata()

operations_research::PathsMetadata::PathsMetadata ( const RoutingIndexManager & manager)
inlineexplicit

Definition at line 210 of file routing.h.

Member Function Documentation

◆ End()

int64_t operations_research::PathsMetadata::End ( int path) const
inline

Definition at line 239 of file routing.h.

◆ Ends()

const std::vector< int64_t > & operations_research::PathsMetadata::Ends ( ) const
inline

Definition at line 240 of file routing.h.

◆ GetPath()

int operations_research::PathsMetadata::GetPath ( int64_t start_or_end_node) const
inline

Definition at line 232 of file routing.h.

◆ IsEnd()

bool operations_research::PathsMetadata::IsEnd ( int64_t node) const
inline

Definition at line 231 of file routing.h.

◆ IsStart()

bool operations_research::PathsMetadata::IsStart ( int64_t node) const
inline

Definition at line 230 of file routing.h.

◆ NumPaths()

int operations_research::PathsMetadata::NumPaths ( ) const
inline

Definition at line 235 of file routing.h.

◆ Paths()

const std::vector< int64_t > & operations_research::PathsMetadata::Paths ( ) const
inline

Definition at line 236 of file routing.h.

◆ Start()

int64_t operations_research::PathsMetadata::Start ( int path) const
inline

Definition at line 238 of file routing.h.

◆ Starts()

const std::vector< int64_t > & operations_research::PathsMetadata::Starts ( ) const
inline

Definition at line 237 of file routing.h.


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