File: modelcodonsemiempirical.h

package info (click to toggle)
iqtree 1.6.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,140 kB
  • sloc: cpp: 111,752; ansic: 53,619; python: 242; sh: 195; makefile: 52
file content (40 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (5)
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
/*
 * modelcodonsemiempirical.h
 *
 *  Created on: May 29, 2013
 *      Author: minh
 */

#ifndef MODELCODONSEMIEMPIRICAL_H_
#define MODELCODONSEMIEMPIRICAL_H_

#include "modelcodonempirical.h"
#include "modelcodonparametric.h"

class ModelCodonSemiEmpirical: public ModelCodonEmpirical, public ModelCodonParametric {
public:
	/**
		constructor
		@param model_name model name, e.g., GY,YN
		@param freq state frequency type
		@param tree associated phylogenetic tree
	*/
	ModelCodonSemiEmpirical(const char *model_name, string model_params, StateFreqType freq, string freq_params,
    		PhyloTree *tree, bool count_rates = true);


	/**
	 * destructor
	 */
	virtual ~ModelCodonSemiEmpirical();

	/**
		initialization, called automatically by the constructor, no need to call it
		@param model_name model name, e.g., JC, HKY.
		@param freq state frequency type
	*/
	virtual void init(const char *model_name, string model_params, StateFreqType freq, string freq_params);

};

#endif /* MODELCODONSEMIEMPIRICAL_H_ */