Skip to content

Commit

Permalink
finished textual interface for show-decisions
Browse files Browse the repository at this point in the history
  • Loading branch information
hweichelt committed Jun 4, 2024
1 parent a06ce44 commit 54475bd
Show file tree
Hide file tree
Showing 5 changed files with 335 additions and 181 deletions.
9 changes: 9 additions & 0 deletions examples/misc/sat_simple.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
num(1..4).
{a(1..4)}.

b(X) :- num(X), not a(X).

c(X+Y) :- a(X), b(Y).

:- a(X), a(X+1).
:- not b(4).
2 changes: 1 addition & 1 deletion src/clingexplaid/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .cli.textual_gui import textual_main
from .propagators import SolverDecisionPropagator

RUN_TEXTUAL_GUI = False
RUN_TEXTUAL_GUI = True


def main() -> None:
Expand Down
Loading

0 comments on commit 54475bd

Please sign in to comment.