Browse Source

Code tidy.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1757 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 16 years ago
parent
commit
ebd7af1d53
  1. 20
      prism/src/explicit/MDPModelChecker.java
  2. 8
      prism/src/explicit/STPGModelChecker.java

20
prism/src/explicit/MDPModelChecker.java

@ -223,8 +223,8 @@ public class MDPModelChecker extends ModelChecker
* @param mdp: The MDP
* @param target: Target states
* @param min: Min or max probabilities (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 probReach(MDP mdp, BitSet target, boolean min, double init[], BitSet known)
@ -302,8 +302,8 @@ public class MDPModelChecker extends ModelChecker
* @param no: Probability 0 states
* @param yes: Probability 1 states
* @param min: Min or max probabilities (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 probReachValIter(MDP mdp, BitSet no, BitSet yes, boolean min, double init[],
@ -485,8 +485,8 @@ public class MDPModelChecker extends ModelChecker
* @param mdp: The MDP
* @param target: Target states
* @param min: Min or max rewards (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 expReach(MDP mdp, BitSet target, boolean min) throws PrismException
@ -499,8 +499,8 @@ public class MDPModelChecker extends ModelChecker
* @param mdp: The MDP
* @param target: Target states
* @param min: Min or max rewards (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 expReach(MDP mdp, BitSet target, boolean min, double init[], BitSet known)
@ -567,8 +567,8 @@ public class MDPModelChecker extends ModelChecker
* @param target: Target states
* @param inf: States for which reward is infinite
* @param min: Min or max rewards (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 expReachValIter(MDP mdp, BitSet target, BitSet inf, boolean min, double init[],

8
prism/src/explicit/STPGModelChecker.java

@ -245,8 +245,8 @@ public class STPGModelChecker extends ModelChecker
* @param target: Target states
* @param min1: Min or max probabilities for player 1 (true=lower bound, false=upper bound)
* @param min2: Min or max probabilities for player 2 (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 probReach(STPG stpg, BitSet target, boolean min1, boolean min2, double init[],
@ -330,8 +330,8 @@ public class STPGModelChecker extends ModelChecker
* @param yes: Probability 1 states
* @param min1: Min or max probabilities for player 1 (true=lower bound, false=upper bound)
* @param min2: Min or max probabilities for player 2 (true=min, false=max)
* @param: init: Optionally, an initial solution vector for value iteration
* @param: known: Optionally, a set of states for which the exact answer is known
* @param init: Optionally, an initial solution vector for value iteration
* @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 probReachValIter(STPG stpg, BitSet no, BitSet yes, boolean min1, boolean min2,

Loading…
Cancel
Save