All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
NetworKit::RegularRingLatticeGenerator Class Reference

#include <RegularRingLatticeGenerator.h>

Public Member Functions

 RegularRingLatticeGenerator (count nNodes, count nNeighbors)
 Construct a undirected regular ring lattice. More...
virtual Graph generate ()
- Public Member Functions inherited from NetworKit::StaticGraphGenerator
virtual ~StaticGraphGenerator ()=default
 Default destructor. More...

Protected Attributes

count nNodes
count nNeighbors

Constructor & Destructor Documentation

NetworKit::RegularRingLatticeGenerator::RegularRingLatticeGenerator ( count  nNodes,
count  nNeighbors 

Construct a undirected regular ring lattice.

nNodesnumber of nodes in target graph
nNeighborsnumber of neighbors on each side of a node

Member Function Documentation

Graph NetworKit::RegularRingLatticeGenerator::generate ( )

Member Data Documentation

count NetworKit::RegularRingLatticeGenerator::nNeighbors
count NetworKit::RegularRingLatticeGenerator::nNodes

The documentation for this class was generated from the following files: