Interface TransitionProbability

All Superinterfaces:
Cloneable, Serializable

public interface TransitionProbability extends Cloneable, Serializable
For objects that represent a source of transition probabilities TransitionProbability.java,v 1.3 2000/08/08 22:58:29 alexi Exp $
Author:
Matthew Goode
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    double
    getTransitionProbability(int startState, int endState)
    Returns the transition probability for changing from startState into endState
    void
    setDistance(double arc)
    compute transition probabilities for a expected distance using the prespecified rate matrix
    void
    setTime(double start, double end)
    compute transition probabilities for a expected time span using the prespecified rate matrix
  • Method Details

    • setDistance

      void setDistance(double arc)
      compute transition probabilities for a expected distance using the prespecified rate matrix
      Parameters:
      arc - expected distance
    • setTime

      void setTime(double start, double end)
      compute transition probabilities for a expected time span using the prespecified rate matrix
      Parameters:
      start - start time
      end - end time
    • getTransitionProbability

      double getTransitionProbability(int startState, int endState)
      Returns the transition probability for changing from startState into endState
      Parameters:
      startState - - the starting state
      endState - - the resulting state
    • getDimension

      int getDimension()