Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
random_graph.H File Reference

Random graph generation utilities. More...

#include <ah-graph-concepts.H>
#include <concepts>
#include <memory>
#include <optional>
#include <tpl_indexArc.H>
#include <tpl_dynSetHash.H>
#include <tpl_sort_utils.H>
#include <tpl_graph_utils.H>
#include <tpl_components.H>
#include <single_graph.H>
#include <Tarjan.H>
#include <ah-errors.H>
#include <ah_init_guard.H>
#include <ah-random.H>
Include dependency graph for random_graph.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::Dft_Init_Rand_Node< GT >
 Default node initializer for random graph generation. More...
 
struct  Aleph::Dft_Init_Rand_Arc< GT >
 Default arc initializer for random graph generation. More...
 
class  Aleph::Kept_Initializer< F >
 An initializer that a random generator keeps: one given as a modifiable lvalue is used where it is, so that the caller sees what the generator does to it; a temporary, or a const lvalue, is moved or copied into the generator, so that it lives as long as the generator. More...
 
class  Aleph::Random_Graph_Base< GT, Init_Node, Init_Arc >
 
struct  Aleph::Random_Graph_Base< GT, Init_Node, Init_Arc >::By_Creation
 Comparison of nodes by the order in which they were created. More...
 
class  Aleph::Random_Graph< GT, Init_Node, Init_Arc >
 Random undirected graph generator. More...
 
class  Aleph::Random_Digraph< GT, Init_Node, Init_Arc >
 Random directed graph (digraph) generator. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Detailed Description

Random graph generation utilities.

Provides classes for generating random graphs with various properties: Erdős–Rényi, random connected, Hamiltonian, Eulerian, and scale-free graphs. Their numbers come from a Gsl_Compatible_Rng, which gives those of the gsl_rng_mt19937 of GSL: a seed gives the graph that it gave when they came from GSL.

Author
Leandro Rabindranath León

Definition in file random_graph.H.