Package org.oristool.models.stpn
Class SteadyStateSolution<T>
java.lang.Object
org.oristool.models.stpn.SteadyStateSolution<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SteadyStateSolution<RewardRate>
computeRewards
(SteadyStateSolution<Marking> solution, String rewardRates) Computes rewards for a given solution.static SteadyStateSolution<RewardRate>
computeRewards
(SteadyStateSolution<Marking> solution, RewardRate... rewardRates) Computes rewards for a given solution.
-
Constructor Details
-
SteadyStateSolution
public SteadyStateSolution() -
SteadyStateSolution
-
-
Method Details
-
getSteadyState
-
computeRewards
public static SteadyStateSolution<RewardRate> computeRewards(SteadyStateSolution<Marking> solution, String rewardRates) Computes rewards for a given solution.- Parameters:
solution
- input solutionrewardRates
- expression of reward rates- Returns:
- a new solution for the rewards
-
computeRewards
public static SteadyStateSolution<RewardRate> computeRewards(SteadyStateSolution<Marking> solution, RewardRate... rewardRates) Computes rewards for a given solution.- Parameters:
solution
- input solutionrewardRates
- expressions of reward rates- Returns:
- a new solution for the rewards
-