Browse Source

Small changes to PTA A-R to match A-R API.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1792 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 16 years ago
parent
commit
33780e8b80
  1. 7
      prism/src/pta/PTAAbstractRefine.java

7
prism/src/pta/PTAAbstractRefine.java

@ -272,8 +272,8 @@ public class PTAAbstractRefine extends STPGAbstractRefine
// - abstraction (new states, initial states and transitions) // - abstraction (new states, initial states and transitions)
// - target set // - target set
protected int splitState(int splitState, List<List<Integer>> choiceLists, Set<Integer> rebuildStates)
throws PrismException
protected int splitState(int splitState, List<List<Integer>> choiceLists, Set<Integer> rebuiltStates,
Set<Integer> rebuildStates) throws PrismException
{ {
LocZone lzSplit; LocZone lzSplit;
DBMList z, valid1; DBMList z, valid1;
@ -444,14 +444,13 @@ public class PTAAbstractRefine extends STPGAbstractRefine
// Rebuild this state of the abstraction // Rebuild this state of the abstraction
abstraction.clearState(i); abstraction.clearState(i);
buildSTPGState(i); buildSTPGState(i);
rebuildStates.add(i);
rebuiltStates.add(i);
} }
if (verbosity >= 5) { if (verbosity >= 5) {
mainLog.println("New graph: " + graph); mainLog.println("New graph: " + graph);
} }
// TODO: need to return this?
return numNewStates; return numNewStates;
} }

Loading…
Cancel
Save