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.

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

Member Function Documentation

Graph NetworKit::RegularRingLatticeGenerator::generate ( )
virtual

Member Data Documentation

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

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