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;
60 PartitionerThread<T>::~PartitionerThread()
64 void PartitionerThread<T>::run()
66 for (
const auto &edge_it : list)
68 algorithm->performStep(*edge_it, *state);
Definition: PartitionState.hpp:33
Definition: PartitionStrategy.hpp:34
Definition: PartitionerThread.hpp:38
Definition: Runnable.hpp:28