ErdosRenyi Type

Constructors

Constructor Description

ErdosRenyi()

Full Usage: ErdosRenyi()

Returns: ErdosRenyi
Returns: ErdosRenyi

Static members

Static member Description

ErdosRenyi.init nodes edges

Full Usage: ErdosRenyi.init nodes edges

Parameters:
    nodes : int - Specifies the number of nodes
    edges : int - Specifies the number of edges

Returns: UndirectedGraph<int, int, float> An UndirectedGraph

Returns a Erdos-Renyi graph https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model

nodes : int

Specifies the number of nodes

edges : int

Specifies the number of edges

Returns: UndirectedGraph<int, int, float>

An UndirectedGraph