Interface TransitionProbability

  • All Superinterfaces:
    java.lang.Cloneable, java.io.Serializable

    public interface TransitionProbability
    extends java.lang.Cloneable, java.io.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDimension()  
      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 Detail

      • 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()