-
Notifications
You must be signed in to change notification settings - Fork 0
/
emi.h
50 lines (45 loc) · 956 Bytes
/
emi.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
38
39
40
41
42
43
44
45
46
47
48
49
////#define DEBUG
#pragma once
#include <sys/time.h>
#include <math.h>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <string>
#include <map>
#include <vector>
#include <set>
#include <list>
#include "FastGraphCluster.h"
#include "DebugFunc.h"
#include "Misc.h"
using namespace std;
class Cluster
{
public:
Cluster(set <int> &v, size_t p_start=0, size_t p_end=0):nodes(v),p_start(p_start),p_end(p_end) {};
set <int> nodes;
size_t p_start, p_end;
};
class MisPair
{
public:
MisPair(float p_start, float p_end, int flag, float freq):p_start(p_start),p_end(p_end), flag(flag){ freqs.push_back(freq); };
float p_start, p_end;
int flag;
vector<float> freqs;
};
/*
class MisPair
{
public:
MisPair(float p_start, float p_end, int flag):p_start(p_start),p_end(p_end), flag(flag){};
float p_start, p_end;
int flag;
};
*/
long myclock();