Clingo
|
The example shows how to inspect and use theory atoms.
The example shows how to inspect and use theory atoms.This is a very simple example that uses the ProgramBuilder to let theory atoms affect answer sets. In general, the backend can be used to implement a custom theory by translating it to a logic program. On the other hand, a Propagator can be used to implement a custom theory without adding any constraints in advance. Or both approaches can be combined.