|
Clingo
|
Interface to output literals. More...
#include <output.hh>
Public Member Functions | |
| virtual | ~OutputLit ()=default |
| Destroy the output. | |
| void | lit (Sign sign, Symbol sym, size_t uid) |
| Output the given symbolic literal. | |
| void | boolean (bool value) |
| Output the given boolean constant. | |
| auto | cond_lit (std::optional< size_t > uid) -> size_t |
| Output the given conditional literal. | |
| auto | bd_aggr (Sign sign, std::optional< size_t > uid) -> size_t |
| Delayed output of a body aggregate. | |
| auto | bd_theory (Sign sign, std::optional< size_t > uid) -> size_t |
| Delayed output of a theory atom. | |
Interface to output literals.
|
inline |
Delayed output of a body aggregate.
Outputs a previously added aggregate if uid is given or starts outputting a fresh aggregate atom.
|
inline |
Output the given conditional literal.
Note that its elements have to be accumulated before using the statement output.