forked from jfmrod/hpc-clust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eseqclustersingle.h
45 lines (31 loc) · 944 Bytes
/
eseqclustersingle.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
#ifndef ESEQCLUSTERSINGLE_H
#define ESEQCLUSTERSINGLE_H
#include <eutils/evar.h>
#include <eutils/estr.h>
#include <eutils/ethread.h>
#include <eutils/eblockarray.h>
#include <eutils/ebasicarray.h>
#undef check
#include "eseqcluster.h"
class eseqclustersingle
{
public:
INDTYPE mergecount;
efile ofile;
// emutex mutexDists;
// eblockarray<eseqdist> dists;
eseqclusterData clusterData;
ebasicarray<INDTYPE> scount;
ebasicarray<INDTYPE> scluster;
ebasicarray<INDTYPE> smerge;
ebasicarray<list<INDTYPE> > incluster;
eseqclustersingle();
void merge(INDTYPE x,INDTYPE y,float dist);
void init(INDTYPE count,const estr& ofile,const estr& seqsfile,const earray<ebasicarray<INDTYPE> >& dupslist);
void add(INDTYPE ind);
void add(const eseqdist& sdist);
// int update(ebasicarray<eseqdist>& dists,int s);
void save(const estr& filename,const estrarray& arr);
// eseqdist* operator()(int x,int y);
};
#endif