anthem/examples
Patrick Lühne ea885f5fdb
Fix integer detection
Clingo treats operations that were assumed to be “invalid” not as
processing errors but as operations returning an empty set.

This changes how formulas have to be evaluated. This commit implements
an explicit function for retrieving the return type of an expression,
that is, both the domain of the result as well as whether it’s an empty,
unit, or general set with multiple values.
2018-04-22 17:04:15 +02:00
..
graph-coloring.lp Minor formatting in graph coloring example 2018-04-11 21:35:04 +02:00
hide-circular-dependency.lp Added example for attempting to hide a circular predicate dependency. 2017-06-12 03:01:30 +02:00
nested-arguments.lp Added example with nested predicate arguments. 2017-06-12 03:05:21 +02:00
permutations.lp Fix integer detection 2018-04-22 17:04:15 +02:00
prime.lp Fix integer detection 2018-04-22 17:04:15 +02:00
propositions.lp Added example with simple propositions. 2017-06-12 15:42:23 +02:00
schur-numbers.lp Fix integer detection 2018-04-22 17:04:15 +02:00