Gilbert Type

Returns an ArrayAdjacencyGraph that is generated randomly with the given parameters. numberOfNodes indicates the number of vertices the final graph will have. probability represents the probability of an edge between 2 vertices.

Constructors

Constructor Description

Gilbert()

Full Usage: Gilbert()

Returns: Gilbert
Returns: Gilbert

Static members

Static member Description

Gilbert.initDiGraph rng numberOfNodes probability

Full Usage: Gilbert.initDiGraph rng numberOfNodes probability

Parameters:
    rng : Random
    numberOfNodes : int
    probability : float

Returns: DiGraph<int, int, float>

Inits a DiGraph according to the gilbert random plane networks

rng : Random
numberOfNodes : int
probability : float
Returns: DiGraph<int, int, float>

Gilbert.initDirectedAdjGraph numberOfNodes probability

Full Usage: Gilbert.initDirectedAdjGraph numberOfNodes probability

Parameters:
    numberOfNodes : int
    probability : float

Returns: AdjGraph<int, int, float>

Inits a directed AdjGraph according to the gilbert random plane networks

numberOfNodes : int
probability : float
Returns: AdjGraph<int, int, float>

Gilbert.initDirectedFGraph numberOfNodes probability

Full Usage: Gilbert.initDirectedFGraph numberOfNodes probability

Parameters:
    numberOfNodes : int
    probability : float

Returns: FGraph<int, int, float>

Inits a directed FGraph according to the gilbert random plane networks

numberOfNodes : int
probability : float
Returns: FGraph<int, int, float>

Gilbert.initUndirectedFGraph numberOfNodes probability

Full Usage: Gilbert.initUndirectedFGraph numberOfNodes probability

Parameters:
    numberOfNodes : int
    probability : float

Returns: FGraph<int, int, float>

Inits an undirected FGraph according to the gilbert random plane networks

numberOfNodes : int
probability : float
Returns: FGraph<int, int, float>

Gilbert.initUndirectedGraph rng numberOfNodes probability

Full Usage: Gilbert.initUndirectedGraph rng numberOfNodes probability

Parameters:
    rng : Random
    numberOfNodes : int
    probability : float

Returns: UndirectedGraph<int, int, float>

Inits an UndirectedGraph according to the gilbert random plane networks

rng : Random
numberOfNodes : int
probability : float
Returns: UndirectedGraph<int, int, float>