| ToPS
   
    | 
Interface defining inhomogeneous models in which the likelihood of the sequence is factorable in the sense that they can be expressed as a product of terms evaluated at each position in a sequence. More...
#include <InhomogeneousFactorableModel.hpp>
 
  
 | Public Member Functions | |
| virtual double | evaluate (const Sequence &s, unsigned int begin, unsigned int end) const | 
| Calculates the sequence likelihood given this model. | |
| virtual double | evaluatePosition (const Sequence &s, int i, int t) const =0 | 
| Evaluate the position i of the sequence s. | |
| virtual int | choosePosition (const Sequence &s, int i, int t) const =0 | 
| Choose the position i of the sequence s given the subsequence before the position i. | |
| virtual int | maximumTimeValue () const =0 | 
| Returns the maximum value of t. | |
| virtual bool | isPhased () const =0 | 
| Phased. | |
Interface defining inhomogeneous models in which the likelihood of the sequence is factorable in the sense that they can be expressed as a product of terms evaluated at each position in a sequence.
Definition at line 34 of file InhomogeneousFactorableModel.hpp.
| virtual int tops::InhomogeneousFactorableModel::choosePosition | ( | const Sequence & | s, | 
| int | i, | ||
| int | t | ||
| ) | const  [pure virtual] | 
Choose the position i of the sequence s given the subsequence before the position i.
| s | is the sequence | 
| i | is the position of the sequence | 
| t | is the considered time | 
Implemented in tops::InhomogeneousMarkovChain.
| virtual double tops::InhomogeneousFactorableModel::evaluatePosition | ( | const Sequence & | s, | 
| int | i, | ||
| int | t | ||
| ) | const  [pure virtual] | 
Evaluate the position i of the sequence s.
| s | is the sequence | 
| i | is the position of the sequence | 
| t | is the considered time | 
Reimplemented from tops::ProbabilisticModel.
Implemented in tops::InhomogeneousMarkovChain.
 1.8.0
 1.8.0