Class RegularRingLatticeGenerator

Inheritance Relationships

Base Type

Class Documentation

class RegularRingLatticeGenerator : public NetworKit::StaticGraphGenerator

Public Functions

RegularRingLatticeGenerator(count nNodes, count nNeighbors)

Construct a undirected regular ring lattice.

Parameters:
  • nNodes – number of nodes in target graph

  • nNeighbors – number of neighbors on each side of a node

virtual Graph generate() override