public interface FinalPaths
Modifier and Type | Method and Description |
---|---|
void |
addOutputPaths(Collection<String> states,
Collection<String> exits,
double prob)
Creates transitions with uniform probability from a given cycle to its exits
|
void |
addOutputPaths(Collection<String> states,
Collection<String> exits,
double[][] probs)
Inserts transitions from a given cycle to its exits
|
Map<String,Double> |
getPaths(String key)
Returns the transitions to reachable exit states from a given state in the cycle
|
void addOutputPaths(Collection<String> states, Collection<String> exits, double prob)
states
- the states within the cycleexits
- the states accessible from the states within the cycleprob
- the uniform probability of the transitions between the all the cycle states and exit statesvoid addOutputPaths(Collection<String> states, Collection<String> exits, double[][] probs) throws AvatarLogicalModelException
states
- the states within the cycleexits
- the states accessible from the states within the cycleprobs
- a matrix specifying the probabilities of the transitions from the all the states of the cycle towards all the exit statesAvatarLogicalModelException
Map<String,Double> getPaths(String key)
key
- the state in the cycle whose exits are to be computedCopyright © 2005–2020. All rights reserved.