• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Nov-2021-

README.mdH A D16-Nov-2021412 169

opt.lpH A D16-Nov-2021769 2923

tohB.lpH A D16-Nov-2021590 2417

tohE.lpH A D16-Nov-2021505 2416

tohI.lpH A D16-Nov-202159 64

README.md

1# Solving the Towers of Hanoi Problem
2
3This example solves Towers of Hanoi problems.  There are two variants.  First,
4there is an incremental encoding.  Second, there is an optimizing version that
5tries to find a shortest plan within a given planning horizon.
6
7# Example Calls
8
9Using the incremental version:
10
11    $ clingo tohE.lp tohI.lp
12
13Using the bounded version:
14
15    $ clingo opt.lp tohB.lp tohI.lp -c n=30
16