ToPS
Public Member Functions
tops::InhomogeneousFactorableModel Class Reference

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>

Inheritance diagram for tops::InhomogeneousFactorableModel:
tops::ProbabilisticModel tops::InhomogeneousMarkovChain

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, 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.

Detailed Description

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.


Member Function Documentation

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.

Parameters:
sis the sequence
iis the position of the sequence
tis 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.

Parameters:
sis the sequence
iis the position of the sequence
tis the considered time

Reimplemented from tops::ProbabilisticModel.

Implemented in tops::InhomogeneousMarkovChain.


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