|
|
|
@ -1087,7 +1087,8 @@ public class MDPModelChecker extends ProbModelChecker |
|
|
|
* @param known Optionally, a set of states for which the exact answer is known |
|
|
|
* Note: if 'known' is specified (i.e. is non-null, 'init' must also be given and is used for the exact values. |
|
|
|
*/ |
|
|
|
public ModelCheckerResult computeReachRewards(MDP mdp, MDPRewards mdpRewards, BitSet target, boolean min, double init[], BitSet known) throws PrismException |
|
|
|
public ModelCheckerResult computeReachRewards(MDP mdp, MDPRewards mdpRewards, BitSet target, boolean min, double init[], BitSet known) |
|
|
|
throws PrismException |
|
|
|
{ |
|
|
|
ModelCheckerResult res = null; |
|
|
|
BitSet inf; |
|
|
|
@ -1166,7 +1167,8 @@ public class MDPModelChecker extends ProbModelChecker |
|
|
|
* @param known Optionally, a set of states for which the exact answer is known |
|
|
|
* Note: if 'known' is specified (i.e. is non-null, 'init' must also be given and is used for the exact values. |
|
|
|
*/ |
|
|
|
protected ModelCheckerResult computeReachRewardsGaussSeidel(MDP mdp, MDPRewards mdpRewards, BitSet target, BitSet inf, boolean min, double init[], BitSet known) throws PrismException |
|
|
|
protected ModelCheckerResult computeReachRewardsGaussSeidel(MDP mdp, MDPRewards mdpRewards, BitSet target, BitSet inf, boolean min, double init[], |
|
|
|
BitSet known) throws PrismException |
|
|
|
{ |
|
|
|
ModelCheckerResult res; |
|
|
|
BitSet unknown; |
|
|
|
@ -1251,7 +1253,8 @@ public class MDPModelChecker extends ProbModelChecker |
|
|
|
* @param known Optionally, a set of states for which the exact answer is known |
|
|
|
* Note: if 'known' is specified (i.e. is non-null, 'init' must also be given and is used for the exact values. |
|
|
|
*/ |
|
|
|
protected ModelCheckerResult computeReachRewardsValIter(MDP mdp, MDPRewards mdpRewards, BitSet target, BitSet inf, boolean min, double init[], BitSet known) throws PrismException |
|
|
|
protected ModelCheckerResult computeReachRewardsValIter(MDP mdp, MDPRewards mdpRewards, BitSet target, BitSet inf, boolean min, double init[], BitSet known) |
|
|
|
throws PrismException |
|
|
|
{ |
|
|
|
ModelCheckerResult res; |
|
|
|
BitSet unknown; |
|
|
|
@ -1353,7 +1356,7 @@ public class MDPModelChecker extends ProbModelChecker |
|
|
|
* @param mdp The MDP |
|
|
|
* @param adv The adversary |
|
|
|
*/ |
|
|
|
public void restrictAdversaryToReachableStates(MDP mdp,int adv[]) |
|
|
|
public void restrictAdversaryToReachableStates(MDP mdp, int adv[]) |
|
|
|
{ |
|
|
|
BitSet restrict = new BitSet(); |
|
|
|
BitSet explore = new BitSet(); |
|
|
|
|