Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
random_graph.h File Reference
#include <memory>
#include "absl/random/bit_gen_ref.h"
#include "ortools/graph/graph.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)