|
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 | delayed (Sign sign, std::optional< size_t > uid) -> size_t |
| Delay or output a previously added aggregate/conditional literal/theory. | |
Interface to output literals.
|
inline |
Delay or output a previously added aggregate/conditional literal/theory.
If uid is given the literal is output, otherwise it is delayed and the returned value can be used as uid for a later output.