Uses of Interface
org.clafer.ig.Solution
Packages that use Solution
Package
Description
This package provides the Alloy backend of the solution loop, for temporal
models: a port of claferIG that runs Alloy 6.2.0 in the same JVM, finds
the traces of a model, reads them from Alloy's XML, and computes unsat
cores and their near-misses.
This package provides the solution loop shared by the backends, a port of
claferIG's command line: the REPL, the solutions (the instances of a static
model from Choco, or the traces of a temporal model from Alloy) and their
views.
-
Uses of Solution in org.clafer.alloy.solve
Methods in org.clafer.alloy.solve that return SolutionModifier and TypeMethodDescriptionstatic SolutionAlloyXml.toSolution(String xml, boolean dynamic, AlloyXml.Naming naming) The instance of a static model, or the trace of a dynamic model. -
Uses of Solution in org.clafer.ig
Classes in org.clafer.ig that implement SolutionModifier and TypeClassDescriptionstatic final recordAn instance, with its text as its backend prints it, if the backend prints it otherwise than claferIG (nullfor claferIG's text).static final recordMethods in org.clafer.ig that return SolutionModifier and TypeMethodDescriptionBackend.Shown.solution()Returns the value of thesolutionrecord component.Methods in org.clafer.ig with parameters of type SolutionModifier and TypeMethodDescriptionstatic StringSolutionView.showSolution(int n, Solution solution) The full view of the n-th solution: the instance, or each state of the trace.static StringSolutionView.showSolutionDiff(UnaryOperator<String> names, int n, Solution previous, Solution solution) The diff view of the n-th solution.static StringSolutionView.solutionDiffDot(UnaryOperator<String> names, Solution solution) The Graphviz graph of a solution in the diff view, which keeps large traces readable: the first state in full, and each next state as its changes from the previous one.static StringSolutionView.solutionDot(Solution solution) The Graphviz graph of a solution: an instance is a single node, and a trace is a node per state with an edge to the next state, and a dashed edge from the last state back to the loop state.static StringSolutionView.solutionText(Solution solution) The text of a solution, as it is saved: the instance, or the states of the trace.Constructors in org.clafer.ig with parameters of type Solution