-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.h
37 lines (29 loc) · 797 Bytes
/
cluster.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/////////////////////////////////////////////////////////////////////////////
/// Author: Ahmed Hamdi Boujelben <ahmed.hamdi.boujelben@gmail.com>
/// Created: 2016
/// Copyright: (c) 2020 Ahmed Hamdi Boujelben
/// Licence: Attribution-NonCommercial 4.0 International
/////////////////////////////////////////////////////////////////////////////
#ifndef CLUSTER_H
#define CLUSTER_H
#include <map>
#include <vector>
class cluster {
public:
cluster(int);
int getLabel() const;
void setLabel(int);
bool getInlet() const;
void setInlet(bool value);
bool getOutlet() const;
void setOutlet(bool value);
bool getSpanning() const;
void setSpanning(bool value);
private:
int id;
int label;
bool inlet;
bool outlet;
bool spanning;
};
#endif // CLUSTER_H