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"
33 namespace PARTITIONING
39 std::vector<Edge<T>> list;
49 std::list<int> *id_partitions;
56 this->algorithm = algorithm;
57 this->id_partitions = ids;
60 PartitionerThread<T>::~PartitionerThread()
64 void PartitionerThread<T>::run()
66 auto edge_it = list.begin();
67 for (edge_it; edge_it != list.end(); ++edge_it)
69 algorithm.performStep(*edge_it, *state);
Definition: PartitionState.hpp:31
Definition: PartitionStrategy.hpp:34
Definition: PartitionerThread.hpp:37