diff --git a/prism/src/explicit/StateModelChecker.java b/prism/src/explicit/StateModelChecker.java index 948e6bd5..8db45bdd 100644 --- a/prism/src/explicit/StateModelChecker.java +++ b/prism/src/explicit/StateModelChecker.java @@ -1085,24 +1085,6 @@ public class StateModelChecker extends PrismComponent return resVals; } - /** - * Export a set of labels and the states that satisfy them. - * @param model The model - * @param labels The states that satisfy each label, specified as a BitSet - * @param labelNames The name of each label - * @param exportType The format in which to export - * @param out Where to export - */ - public void exportLabels(Model model, List labelNames, int exportType, PrismLog out) throws PrismException - { - List labels = new ArrayList(); - for (String labelName : labelNames) { - StateValues sv = checkExpression(model, new ExpressionLabel(labelName), null); - labels.add(sv.getBitSet()); - } - exportLabels(model, labels, labelNames, exportType, out); - } - /** * Extract maximal propositional subformulas of an expression, model check them and * replace them with ExpressionLabel objects (L0, L1, etc.) Expression passed in is modified directly, but the result @@ -1319,6 +1301,24 @@ public class StateModelChecker extends PrismComponent } } + /** + * Export a set of labels and the states that satisfy them. + * @param model The model + * @param labels The states that satisfy each label, specified as a BitSet + * @param labelNames The name of each label + * @param exportType The format in which to export + * @param out Where to export + */ + public void exportLabels(Model model, List labelNames, int exportType, PrismLog out) throws PrismException + { + List labels = new ArrayList(); + for (String labelName : labelNames) { + StateValues sv = checkExpression(model, new ExpressionLabel(labelName), null); + labels.add(sv.getBitSet()); + } + exportLabels(model, labels, labelNames, exportType, out); + } + /** * Export a set of labels and the states that satisfy them. * @param model The model