Program Listing for File RegularRingLatticeGenerator.hpp

Return to documentation for file (include/networkit/generators/RegularRingLatticeGenerator.hpp)

/*
 * RegularRingLatticeGenerator.hpp
 *
 *  Created on: 09.07.2014
 *      Author: Simon Bischof
 */

#ifndef NETWORKIT_GENERATORS_REGULAR_RING_LATTICE_GENERATOR_HPP_
#define NETWORKIT_GENERATORS_REGULAR_RING_LATTICE_GENERATOR_HPP_

#include <networkit/generators/StaticGraphGenerator.hpp>

namespace NetworKit {

class RegularRingLatticeGenerator final : public StaticGraphGenerator {

public:
    RegularRingLatticeGenerator(count nNodes, count nNeighbors);

    Graph generate() override;

private:
    count nNodes;
    count nNeighbors;
};

} /* namespace NetworKit */
#endif // NETWORKIT_GENERATORS_REGULAR_RING_LATTICE_GENERATOR_HPP_