Skip to content

Commit

Permalink
Merge pull request #7 from utwente-fmt/feature/fix-dftcalc
Browse files Browse the repository at this point in the history
Restore DFTCalc functionality that depends on the MakeTraLab name 'ma…
  • Loading branch information
ennoruijters authored Feb 19, 2024
2 parents bc94af8 + 81c5f33 commit 2b6410d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nl/utwente/ewi/fmt/EXPRES/MakeTraLab.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ public void run () {
String sState = Composition.stateString(state);
Map<String, Integer> vals = l.getVarValues(state);
Set<String> markings = new TreeSet<>();
if (l instanceof MarkedAutomaton) {
if (vals.get("marked") != 0)
markings.add("marked");
}
for (Map.Entry<?, Integer> v : vals.entrySet())
markings.add("v_" + v.getKey() + "_" + v.getValue());
for (Property prop : props) {
Expand Down

0 comments on commit 2b6410d

Please sign in to comment.