Class Repl
java.lang.Object
org.clafer.ig.Repl
The one loop of the solutions, whatever the backend: claferIG's
CommandLine.hs, with clafersg's commands. A solution is an instance
(Choco) or a trace (Alloy). The loop keeps the solutions shown, the most
recent first, and their views: the full view or the diff view
(d), the saved files (e), the Graphviz graph
(dot) and the clafers found (f); the backend solves and
handles its own commands.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe solutions shown so far, the most recent first: those not saved yet and those saved; the Alloy XML of the most recent; and whether they are shown as the changes from the previous snapshot.static interfaceShows a solution, which becomes the most recent one.static final recordThe input of the commands and the outputs: claferIG prints its solutions on the standard output and its unsat cores on the standard error. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(Backend.Shown shown) Shows a solution, which becomes the most recent one.voidrun()Runs the loop untilqor the end of the input.
-
Constructor Details
-
Repl
-
-
Method Details
-
run
-
display
Shows a solution, which becomes the most recent one.
-