Uses of Class
org.oristool.models.stpn.RewardRate
-
Uses of RewardRate in org.oristool.models.stpn
Modifier and TypeMethodDescriptionstatic RewardRate
RewardRate.fromString
(String expression) static RewardRate[]
TransientSolution.rewardRates
(String rewardRates) Creates reward evaluators from a string of expressions separated by semicolon.Modifier and TypeMethodDescriptionstatic SteadyStateSolution<RewardRate>
SteadyStateSolution.computeRewards
(SteadyStateSolution<Marking> solution, String rewardRates) Computes rewards for a given solution.static SteadyStateSolution<RewardRate>
SteadyStateSolution.computeRewards
(SteadyStateSolution<Marking> solution, RewardRate... rewardRates) Computes rewards for a given solution.static <R> TransientSolution<R,
RewardRate> TransientSolution.computeRewards
(boolean cumulative, TransientSolution<R, Marking> solution, String rewardRates) Computes rewards from a transient solution (only for the first initial state).static <R> TransientSolution<R,
RewardRate> TransientSolution.computeRewards
(boolean cumulative, TransientSolution<R, Marking> solution, RewardRate... rewardRates) Computes rewards from a transient solution (only for the first initial state).Modifier and TypeMethodDescriptionstatic SteadyStateSolution<RewardRate>
SteadyStateSolution.computeRewards
(SteadyStateSolution<Marking> solution, RewardRate... rewardRates) Computes rewards for a given solution.static <R> TransientSolution<R,
RewardRate> TransientSolution.computeRewards
(boolean cumulative, TransientSolution<R, Marking> solution, RewardRate... rewardRates) Computes rewards from a transient solution (only for the first initial state).static final MarkingCondition
RewardRate.nonZero
(double time, RewardRate[] rewardRates) Builds a marking condition that matches markings with nonzero reward.