All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EdgeSwitchingMarkovChainGenerator.h
Go to the documentation of this file.
1 #ifndef EDGESWITCHINGMARKOVCHAINGENERATOR_H
2 #define EDGESWITCHINGMARKOVCHAINGENERATOR_H
3 
5 
6 namespace NetworKit {
7 
25 public:
35  EdgeSwitchingMarkovChainGenerator(const std::vector< NetworKit::count > &sequence, bool ignoreIfRealizable = false);
36 
45  virtual Graph generate() override;
46 private:
47  bool ignoreIfRealizable;
48 };
49 
50 } // namespace NetworKit
51 
52 #endif // EDGESWITCHINGMARKOVCHAINGENERATOR_H
virtual Graph generate() override
Generate a graph according to the configuration model.
Definition: EdgeSwitchingMarkovChainGenerator.cpp:13
Definition: StaticDegreeSequenceGenerator.h:22
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79
Graph generator for generating a random simple graph with exactly the given degree sequence based on ...
Definition: EdgeSwitchingMarkovChainGenerator.h:24
EdgeSwitchingMarkovChainGenerator(const std::vector< NetworKit::count > &sequence, bool ignoreIfRealizable=false)
Initializes the configuration model generator with the given degree sequence sequence.
Definition: EdgeSwitchingMarkovChainGenerator.cpp:9