|
ToPS
|
Abstract class defining 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 <FactorableModel.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, unsigned int i) const =0 |
| Evaluate the position i of the sequence s. | |
| virtual double | choosePosition (const Sequence &s, int i) const =0 |
| Choose the position i of the sequence s given the subsequence before the position i. | |
Abstract class defining 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 37 of file FactorableModel.hpp.
1.8.0