All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParallelPartitionCoarsening.h
Go to the documentation of this file.
1 /*
2  * ParallelPartitionCoarsening.h
3  *
4  * Created on: 03.07.2014
5  * Author: cls
6  */
7 
8 #ifndef PARALLELPARTITIONCOARSENING_H_
9 #define PARALLELPARTITIONCOARSENING_H_
10 
11 #include "../Globals.h"
12 #include "GraphCoarsening.h"
13 #include "../structures/Partition.h"
14 
15 namespace NetworKit {
16 
21 public:
22  ParallelPartitionCoarsening(const Graph& G, const Partition& zeta, bool useGraphBuilder = true);
23 
24  virtual void run();
25 
26 private:
27  const Partition& zeta;
28  bool useGraphBuilder;
29 };
30 
31 } /* namespace NetworKit */
32 
33 #endif /* PARALLELPARTITIONCOARSENING_H_ */
Definition: ParallelPartitionCoarsening.h:20
ParallelPartitionCoarsening(const Graph &G, const Partition &zeta, bool useGraphBuilder=true)
Definition: ParallelPartitionCoarsening.cpp:16
Implements a partition of a set, i.e.
Definition: Partition.h:31
virtual void run()
The generic run method which calls runImpl() and takes care of setting to the appropriate value...
Definition: ParallelPartitionCoarsening.cpp:20
Abstract base class for graph coarsening/contraction algorithms.
Definition: GraphCoarsening.h:20
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79
const Graph & G
Definition: GraphCoarsening.h:43