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,
double param1 = 1,
double param2 = 1,
double param3 = 1,
unsigned int threads = std::thread::hardware_concurrency());
41 const int SLEEP_LIMIT = 16;
44 int numberOfPartition = 0;
46 PartitionAlgorithm partitionStategy;
47 unsigned int threads = 0;
51 unsigned long long edgeCardinality = 0;
52 unsigned long long vertexCardinality = 0;
53 unsigned long long edgeAnalyzed = 0;
56 inline Globals::Globals(
int numberOfPartiton, PartitionAlgorithm algorithm,
double param1,
double param2,
double param3,
unsigned int threads)
58 this->numberOfPartition = numberOfPartiton;
59 this->partitionStategy = algorithm;
60 this->threads = threads;
61 this->param1 = param1;
62 this->param2 = param2;
63 this->param3 = param3;
66 inline Globals::~Globals()
Definition: Globals.hpp:32