20 #ifndef __CXXGRAPH_PARTITIONING_PARTITIONERTHREAD_H__
21 #define __CXXGRAPH_PARTITIONING_PARTITIONERTHREAD_H__
27 #include "Edge/Edge.hpp"
28 #include "PartitionState.hpp"
29 #include "PartitionStrategy.hpp"
30 #include "Utility/Runnable.hpp"
34 namespace PARTITIONING
40 std::vector<const Edge<T>*> list;
50 std::list<int> *id_partitions;
57 this->algorithm = algorithm;
58 this->id_partitions = ids;
61 PartitionerThread<T>::~PartitionerThread()
65 void PartitionerThread<T>::run()
67 auto edge_it = list.begin();
68 for (edge_it; edge_it != list.end(); ++edge_it)
70 algorithm->performStep(*(*edge_it), *state);
Definition: PartitionState.hpp:33
Definition: PartitionStrategy.hpp:34
Definition: PartitionerThread.hpp:38
Definition: Runnable.hpp:28