Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
experiment-iclp15.zip
fasp2smt.py
parser.py
scc.py

README.md

fasp2smt

Fuzzy answer set programming solver based on satisfiability modulo theories.

Requirements:

Commands gringo and z3 are used by fasp2smt. The path to these tools can be specified by using the command-line options --grounder and --solver, respectively.

Example usage:

$ ./fasp2smt.py example.fasp
Answer 1:
	c	0.600000	(3.0/5.0)
	b	0.400000	(2.0/5.0)
	a	0.600000	(3.0/5.0)

where example.fasp contains

a :- #0.6.
b :- #0.4.
c :- a, ~b.

For details on the syntax of input programs, run

$ ./fasp2smt.py --help-syntax