20 #ifndef __CXXGRAPH_PARTITIONING_GLOBALS_H__
21 #define __CXXGRAPH_PARTITIONING_GLOBALS_H__
26 #include "Partitioning/PartitionAlgorithm.hpp"
30 namespace PARTITIONING {
35 Globals(
int numberOfPartiton, PartitionAlgorithm algorithm = PartitionAlgorithm::HDRF_ALG,
unsigned int threads = std::thread::hardware_concurrency(),
double lambda = 1);
41 const int SLEEP_LIMIT = 16;
44 int numberOfPartition;
46 PartitionAlgorithm partitionStategy;
51 inline Globals::Globals(
int numberOfPartiton, PartitionAlgorithm algorithm,
unsigned int threads,
double lambda)
53 this->numberOfPartition = numberOfPartiton;
54 this->partitionStategy = algorithm;
55 this->lambda = lambda;
56 this->threads = threads;
59 inline Globals::~Globals()
Definition: Globals.hpp:32