From c2ceb299ddf33fa197e96f08b50c06b63111a5a6 Mon Sep 17 00:00:00 2001 From: Sascha Wunderlich Date: Fri, 7 Dec 2018 17:41:39 +0100 Subject: [PATCH] accumulation: add track status to Product.toDot --- prism/src/explicit/AccumulationProduct.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/prism/src/explicit/AccumulationProduct.java b/prism/src/explicit/AccumulationProduct.java index 1a0e36db..b85e24cb 100644 --- a/prism/src/explicit/AccumulationProduct.java +++ b/prism/src/explicit/AccumulationProduct.java @@ -292,6 +292,20 @@ public abstract class AccumulationProduct extends Pro return initialAccStateId; } + private String labelString(Integer stateId) { + StringBuffer result = new StringBuffer(); + + for(int t=0; t extends Pro + "" + "" + i + "=" + fromState + "" + "" - + " " + accState + "" + + " " + accState + "" + + "" + + " " + labelString(i) + "" + "" + "\"" + Dottable.quoteForDot(tracker.toString()) + "\"" + ""