Package org.oristool.models.stpn.trees
Class TransientStochasticStateFeature
java.lang.Object
org.oristool.models.stpn.trees.TransientStochasticStateFeature
- All Implemented Interfaces:
StateFeature
,Feature
State feature including the entering time distribution and reaching
probability of a state.
-
Constructor Summary
ConstructorDescriptionBuilds an empty state feature.Builds the copy of a state feature. -
Method Summary
Modifier and TypeMethodDescriptionComputes the probability of being in this class at the specified time.Computes the probability of reaching this class at a time within the given interval [alpha,beta].Returns the entering time density of a given instance.Returns the lower bound on the entering time for this transient state class.Returns the upper bound on the entering time for this transient state class.After timeUpperBound the probability of being in this class is zero.void
setEnteringTimeDensity
(StateDensityFunction enteringTimeDensity) void
toString()
-
Constructor Details
-
TransientStochasticStateFeature
public TransientStochasticStateFeature()Builds an empty state feature. -
TransientStochasticStateFeature
Builds the copy of a state feature.- Parameters:
other
- another state feature
-
-
Method Details
-
setEnteringTimeDensity
-
getReachingProbability
-
setReachingProbability
-
toString
-
getEnteringTimeDensity
Returns the entering time density of a given instance.- Parameters:
s
- stochastic state feature- Returns:
- entering time density
-
getEnteringTimeUpperBound
Returns the upper bound on the entering time for this transient state class.- Parameters:
s
- stochastic state feature- Returns:
- OmegaBigDecimal upper time bound
-
getEnteringTimeLowerBound
Returns the lower bound on the entering time for this transient state class.- Parameters:
s
- stochastic state feature- Returns:
- OmegaBigDecimal upper time bound
-
getTimeUpperBound
After timeUpperBound the probability of being in this class is zero.- Parameters:
s
- stochastic state feature- Returns:
- OmegaBigDecimal upper bound
-
computeTransientClassProbability
Computes the probability of being in this class at the specified time.- Parameters:
time
- time points
- stochastic state feature- Returns:
- BigDecimal probability value
-
computeVisitedProbability
public BigDecimal computeVisitedProbability(OmegaBigDecimal alpha, OmegaBigDecimal beta, StochasticStateFeature s) Computes the probability of reaching this class at a time within the given interval [alpha,beta].- Parameters:
alpha
- lower boundbeta
- upper bounds
- stochastic state feature- Returns:
- BigDecimal probability value
-