![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include "ortools/graph/random_graph.h"#include <algorithm>#include <cstdint>#include <memory>#include <utility>#include <vector>#include "absl/container/flat_hash_set.h"#include "absl/memory/memory.h"#include "absl/random/bit_gen_ref.h"#include "absl/random/random.h"#include "ortools/base/logging.h"#include "ortools/base/types.h"Go to the source code of this file.
Namespaces | |
| namespace | util |
| A collections of i/o utilities for the Graph classes in ./graph.h. | |
Functions | |
| std::unique_ptr< StaticGraph<> > | util::GenerateRandomMultiGraph (int num_nodes, int num_arcs, bool finalized, absl::BitGenRef gen) |
| std::unique_ptr< StaticGraph<> > | util::GenerateRandomDirectedSimpleGraph (int num_nodes, int num_arcs, bool finalized, absl::BitGenRef gen) |
| std::unique_ptr< StaticGraph<> > | util::GenerateRandomUndirectedSimpleGraph (int num_nodes, int num_edges, bool finalized, absl::BitGenRef gen) |