![]() |
OR-Tools
9.3
|
Classes | |
| class | DenseIntTopologicalSorterTpl |
Functions | |
| template<typename T , typename Sorter > | |
| ABSL_MUST_USE_RESULT bool | RunTopologicalSorter (Sorter *sorter, const std::vector< std::pair< T, T > > &arcs, std::vector< T > *topological_order_or_cycle) |
| template<typename T , typename Sorter > | |
| ABSL_MUST_USE_RESULT bool | RunTopologicalSorter (Sorter *sorter, const std::vector< std::pair< T, T > > &arcs, std::vector< T > *topological_order, std::vector< T > *cycle) |
| template<bool stable_sort = false> | |
| ABSL_MUST_USE_RESULT bool | DenseIntTopologicalSortImpl (int num_nodes, const std::vector< std::pair< int, int > > &arcs, std::vector< int > *topological_order) |
| template<typename T , bool stable_sort = false> | |
| ABSL_MUST_USE_RESULT bool | TopologicalSortImpl (const std::vector< T > &nodes, const std::vector< std::pair< T, T > > &arcs, std::vector< T > *topological_order) |
| template<typename T , typename Sorter > | |
| std::vector< T > | RunTopologicalSorterOrDie (Sorter *sorter, const std::vector< std::pair< T, T > > &arcs) |
| template<bool stable_sort = false> | |
| std::vector< int > | DenseIntTopologicalSortOrDieImpl (int num_nodes, const std::vector< std::pair< int, int > > &arcs) |
| template<typename T , bool stable_sort = false> | |
| std::vector< T > | TopologicalSortOrDieImpl (const std::vector< T > &nodes, const std::vector< std::pair< T, T > > &arcs) |
Variables | |
| static const int | kLazyDuplicateDetectionSizeThreshold = 16 |
| ABSL_MUST_USE_RESULT bool util::internal::DenseIntTopologicalSortImpl | ( | int | num_nodes, |
| const std::vector< std::pair< int, int > > & | arcs, | ||
| std::vector< int > * | topological_order | ||
| ) |
Definition at line 405 of file topologicalsorter.h.
| std::vector< int > util::internal::DenseIntTopologicalSortOrDieImpl | ( | int | num_nodes, |
| const std::vector< std::pair< int, int > > & | arcs | ||
| ) |
Definition at line 436 of file topologicalsorter.h.
| ABSL_MUST_USE_RESULT bool util::internal::RunTopologicalSorter | ( | Sorter * | sorter, |
| const std::vector< std::pair< T, T > > & | arcs, | ||
| std::vector< T > * | topological_order, | ||
| std::vector< T > * | cycle | ||
| ) |
Definition at line 388 of file topologicalsorter.h.
| ABSL_MUST_USE_RESULT bool util::internal::RunTopologicalSorter | ( | Sorter * | sorter, |
| const std::vector< std::pair< T, T > > & | arcs, | ||
| std::vector< T > * | topological_order_or_cycle | ||
| ) |
| std::vector< T > util::internal::RunTopologicalSorterOrDie | ( | Sorter * | sorter, |
| const std::vector< std::pair< T, T > > & | arcs | ||
| ) |
Definition at line 427 of file topologicalsorter.h.
| ABSL_MUST_USE_RESULT bool util::internal::TopologicalSortImpl | ( | const std::vector< T > & | nodes, |
| const std::vector< std::pair< T, T > > & | arcs, | ||
| std::vector< T > * | topological_order | ||
| ) |
Definition at line 414 of file topologicalsorter.h.
| std::vector< T > util::internal::TopologicalSortOrDieImpl | ( | const std::vector< T > & | nodes, |
| const std::vector< std::pair< T, T > > & | arcs | ||
| ) |
Definition at line 443 of file topologicalsorter.h.
|
static |
Definition at line 62 of file topologicalsorter.cc.