From 8454511dad7a0bbaf5d5024482a1898c4b6113d5 Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Sun, 14 Jun 2015 22:39:47 +0000 Subject: [PATCH] DA can print to a PrintStream or a PrismLog. git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10016 bbc10eb1-c90d-0410-af57-cb519fbb1720 --- prism/src/prism/DA.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/prism/src/prism/DA.java b/prism/src/prism/DA.java index 107e3dd1..11024291 100644 --- a/prism/src/prism/DA.java +++ b/prism/src/prism/DA.java @@ -170,9 +170,17 @@ public class DA } /** - * Print DRA in DOT format to an output stream. + * Print the automaton in Dot format to an output stream. */ public void printDot(PrintStream out) throws PrismException + { + printDot(new PrismPrintStreamLog(out)); + } + + /** + * Print automaton in Dot format to a PrismLog + */ + public void printDot(PrismLog out) throws PrismException { int i; out.println("digraph model {");