![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
#include <functional>#include <map>#include <memory>#include <set>#include <type_traits>#include <vector>#include "absl/container/flat_hash_map.h"#include "absl/container/flat_hash_set.h"#include "absl/hash/hash.h"#include "absl/meta/type_traits.h"#include "ortools/base/logging.h"#include "ortools/base/map_util.h"Go to the source code of this file.
Namespaces | |
| namespace | util |
| namespace | internal |
Functions | |
| template<class UndirectedGraph, class NodeType> | |
| std::vector< NodeType > | util::GetConnectedComponentsTpl (NodeType num_nodes, const UndirectedGraph &graph) |
| template<class UndirectedGraph> | |
| std::vector< int > | util::GetConnectedComponents (int num_nodes, const UndirectedGraph &graph) |