![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
(b/332475231): extend to non-floating lengths.
(b/332476147): extend to allow for length functor.
This library provides a few APIs to compute the shortest path on a given directed acyclic graph (DAG).
In the DAG, multiple arcs between the same pair of nodes is allowed. However, self-loop arcs are not allowed.
Definition at line 54 of file dag_shortest_path.h.
#include <dag_shortest_path.h>
Public Attributes | |
int | from = 0 |
int | to = 0 |
double | length = 0.0 |
int operations_research::ArcWithLength::from = 0 |
Definition at line 55 of file dag_shortest_path.h.
double operations_research::ArcWithLength::length = 0.0 |
Definition at line 57 of file dag_shortest_path.h.
int operations_research::ArcWithLength::to = 0 |
Definition at line 56 of file dag_shortest_path.h.