File: paramtreecons.h

package info (click to toggle)
clonalorigin 1.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: cpp: 10,488; perl: 349; xml: 130; makefile: 48; sh: 33
file content (22 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PARAMTREECONS_H
#define PARAMTREECONS_H
//
#include "paramqt.h"
//
class ParamTreeCons : public ParamQt
{
class Cluster{public:int i;double d;Cluster(){};Cluster(int a,double b) {i=a;d=b;}};
public:
	ParamTreeCons();
	virtual ~ParamTreeCons();
	void account();
	void consensus(int cutoff);
	void consensusExt();
	static void makeKey(Node*,QString*);
protected:
	QHash<QString, Cluster> hash;
	int its;
	QString buildsubtree(QString,vector<QString>*);
	bool compat(QString,QString);
};
#endif