All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PartitionFragmentation.h
Go to the documentation of this file.
1 #ifndef PARTITIONFRAGMENTATION_H
2 #define PARTITIONFRAGMENTATION_H
3 
5 
6 namespace NetworKit {
7 
13 public:
15 
19  virtual void run() override;
20 
24  virtual bool isSmallBetter() const override { return true; };
25 
29  virtual bool isParallel() const override { return false; };
30 };
31 
32 }
33 
34 #endif // PARTITIONFRAGMENTATION_H
LocalPartitionEvaluation(const Graph &G, const Partition &P)
Initialize the partition evaluation method.
Definition: LocalPartitionEvaluation.cpp:7
virtual void run() override
Execute the algorithm.
Definition: PartitionFragmentation.cpp:10
Virtual base class of all evaluation methods for a single Partition which is based on the evaluation ...
Definition: LocalPartitionEvaluation.h:14
virtual bool isSmallBetter() const override
Definition: PartitionFragmentation.h:24
virtual bool isParallel() const override
Definition: PartitionFragmentation.h:29
This measure evaluates how fragmented a partition is.
Definition: PartitionFragmentation.h:12