RegularRingLattice Type

Constructors

Constructor Description

RegularRingLattice()

Full Usage: RegularRingLattice()

Returns: RegularRingLattice
Returns: RegularRingLattice

Static members

Static member Description

RegularRingLattice.initUndirectedGraph n k

Full Usage: RegularRingLattice.initUndirectedGraph n k

Parameters:
    n : int - Specifies the number of nodes
    k : int - Specifies the degree of the nodes

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

Returns an Undirected graph in a ring lattice in whichall node have the same degree and there are no self loops.

n : int

Specifies the number of nodes

k : int

Specifies the degree of the nodes

Returns: UndirectedGraph<int, int, float>

An UndirectedGraph