iPE::State::Transitions(3)

NAME
iPE::State::Transitions - Counts and normalizes the probabilities for successor transitions for all states.

DESCRIPTION
Every state has a transition object associated with it, which contains all the outbound transitions of the state. This is in turn used to estimate parameters for transitioning to states.

FUNCTIONS

new(source, stateList, statesRef)
    Create a new transition list for the "source" state. This does not initialize the ISO levels for the transition, and thus does not initialize the parameters. Call setISOs () for that. statesRef is a reference to an array of states. This gives ready access to the pseudoStates associated with each state.

addPseudoTransition(attributes)
    Add a pseudo transition as defined in the XML file. A pseudo transition is a transition between at least one pseudostate and another state. It has the same transition probability as its "parent" transition. No pseudo transition is estimated.

fixTransition (dest, values,...)
    Fixes the transition probability from this Transitions' source to the passed destination to the values passed. Script will die if the destination name does not exist on this transition, or if the number of values passed do not match the number of iscochore levels used for this transition.

nDests ()
    Returns the actual number of transitions from an object, excluding pseudo transitions.

nTotDests ()
    Returns the total number of destination states and pseudo destintation states in this Transitions object.

setISOs(ISO, pseudocount)
    Initialize the successor states for each ISO level and a given pseudocount.

count (destFeature, weight)
    Counts a transition from the source state of this object to the state of the passed destination feature.

normalize ()
    Normalizes the counts to probabilities.

outputPrepare (out, mode)
    Prepare the output object for outputting to a Zoe format. Must be applied to all transition objects before any transition object is outputted.

outputZoe (out, mode)
    Output all the destination state probabilities to the output object in Zoe format.

SEE ALSO
iPE::State

AUTHOR
Bob Zimmermann (rpz@cse.wustl.edu)