|
|
@ -160,8 +160,10 @@ public class STPGAbstrSimple extends ModelExplicit implements STPG, NondetModelS |
|
|
// Parse first line to get num states |
|
|
// Parse first line to get num states |
|
|
s = in.readLine(); |
|
|
s = in.readLine(); |
|
|
lineNum = 1; |
|
|
lineNum = 1; |
|
|
if (s == null) |
|
|
|
|
|
|
|
|
if (s == null) { |
|
|
|
|
|
in.close(); |
|
|
throw new PrismException("Missing first line of .tra file"); |
|
|
throw new PrismException("Missing first line of .tra file"); |
|
|
|
|
|
} |
|
|
ss = s.split(" "); |
|
|
ss = s.split(" "); |
|
|
n = Integer.parseInt(ss[0]); |
|
|
n = Integer.parseInt(ss[0]); |
|
|
// Initialise |
|
|
// Initialise |
|
|
@ -1084,7 +1086,7 @@ public class STPGAbstrSimple extends ModelExplicit implements STPG, NondetModelS |
|
|
STPGAbstrSimple stpg; |
|
|
STPGAbstrSimple stpg; |
|
|
DistributionSet set; |
|
|
DistributionSet set; |
|
|
Distribution distr; |
|
|
Distribution distr; |
|
|
ModelCheckerResult res; |
|
|
|
|
|
|
|
|
//ModelCheckerResult res; |
|
|
BitSet target; |
|
|
BitSet target; |
|
|
|
|
|
|
|
|
// Simple example: Create and solve the stochastic game from: |
|
|
// Simple example: Create and solve the stochastic game from: |
|
|
|