Constructor | Description |
|
|
Static member | Description |
Full Usage:
RegularRingLattice.initUndirectedGraph n k
Parameters:
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.
|