File: README

package info (click to toggle)
gringo 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,260 kB
  • ctags: 10,755
  • sloc: cpp: 55,049; python: 629; yacc: 569; sh: 124; makefile: 23
file content (11 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
This example shows how to use the gringo library to solve and visualize a
puzzle game.  The puzzle is about moving a car out of a parking lot that is
blocked by other cars. Cars can only move forwards or backwards.

To solve a problem, call:

	clingo unblock.lp <instance>

To solve and visualize, call:

	./visualize.py unblock.lp <instance>