ToPS
Public Member Functions
tops::FactorableModel Class Reference

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>

Inheritance diagram for tops::FactorableModel:
tops::ProbabilisticModel tops::DiscreteIIDModel tops::VariableLengthMarkovChain tops::DegenerateDistribution

List of all members.

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.

Detailed Description

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.


The documentation for this class was generated from the following files: