00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __UNWEIGHTED_H__
00025 #define __UNWEIGHTED_H__
00026
00027 #include <Sequence/WeightingSchemes.hpp>
00045 namespace Sequence
00046 {
00047 class Unweighted2 : public WeightingScheme2
00048 {
00049 private:
00050 mutable double __weights[2];
00051 public:
00052 explicit Unweighted2(void)
00053 {}
00054 ;
00055 ~Unweighted2(void)
00056 {}
00057 ;
00058 void Calculate(const std::string &codon1, const std::string &codon2) const;
00059 double *weights(void) const;
00060 };
00061
00062 class Unweighted3 : public WeightingScheme3
00063 {
00064 private:
00065 mutable double __weights[6];
00066 public:
00067 explicit Unweighted3(void)
00068 {}
00069 ;
00070 ~Unweighted3(void)
00071 {}
00072 ;
00073 void Calculate(const std::string &codon1, const std::string &codon2) const;
00074 double *weights(void) const;
00075 };
00076 }
00077 #endif