#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"
#include "ortools/base/ptr_util.h"
Go to the source code of this file.
|
| | util |
| | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
| |
|
| template<class UndirectedGraph > |
| std::vector< int > | util::GetConnectedComponents (int num_nodes, const UndirectedGraph &graph) |
| | Finds the connected components of the graph, using BFS internally. More...
|
| |