Class StaticDegreeSequenceGenerator

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class StaticDegreeSequenceGenerator : public NetworKit::StaticGraphGenerator

Subclassed by NetworKit::ChungLuGenerator, NetworKit::ConfigurationModel, NetworKit::EdgeSwitchingMarkovChainGenerator, NetworKit::HavelHakimiGenerator

Public Functions

StaticDegreeSequenceGenerator(const std::vector<count> &sequence)
virtual bool isRealizable()

Erdoes-Gallai test if degree sequence seq is realizable.

virtual bool getRealizable() const
virtual Graph generate() override = 0

Protected Attributes

std::vector<count> seq
short realizable