|
| template<class Graph, class NodeIndex = int> |
| absl::StatusOr< std::vector< NodeIndex > > | GetBFSRootedTree (const Graph &graph, NodeIndex num_nodes, NodeIndex source) |
| template<class NodeIndex> |
| absl::StatusOr< std::vector< NodeIndex > > | GetBFSDistances (const std::vector< NodeIndex > &bfs_tree) |
| template<class NodeIndex> |
| absl::StatusOr< std::vector< NodeIndex > > | GetBFSShortestPath (const std::vector< NodeIndex > &bfs_tree, NodeIndex target) |
| template<class AdjacencyLists> |
| absl::StatusOr< std::vector< typename util::GraphTraits< AdjacencyLists >::NodeIndex > > | FastTopologicalSort (const AdjacencyLists &adj) |
| template<class AdjacencyLists> |
| absl::StatusOr< std::vector< typename util::GraphTraits< AdjacencyLists >::NodeIndex > > | FindCycleInGraph (const AdjacencyLists &adj) |
| std::vector< int > | DenseIntTopologicalSortOrDie (int num_nodes, const std::vector< std::pair< int, int > > &arcs) |
| std::vector< int > | DenseIntStableTopologicalSortOrDie (int num_nodes, const std::vector< std::pair< int, int > > &arcs) |
| template<typename T> |
| std::vector< T > | StableTopologicalSortOrDie (const std::vector< T > &nodes, const std::vector< std::pair< T, T > > &arcs) |
| template<class AdjacencyLists> |
| absl::StatusOr< std::vector< typename GraphTraits< AdjacencyLists >::NodeIndex > > | FastTopologicalSort (const AdjacencyLists &adj) |