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-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
This example shows how clingo's asynchronous solving capabilities can be used
in a client server scenario.

To start the server, execute: 
    python server.py

Afterwards, start the client:
    clingo client.lp client-lua.lp

The client can then be controlled from the server. An overview of the available
commands is printed on the screen.