Support for building applications on top of clingo.
More...
|
using | Clingo::ModelPrinter = std::function< void()> |
| A callback to print the current model.
|
|
Support for building applications on top of clingo.
◆ main() [1/2]
Run a clingo based application with the given arguments.
Convenience overload to specify arguments via initializer_lists.
- Parameters
-
lib | the library to store symbols |
arguments | the command line arguments |
app | an optional application to customize solving |
raise_errors | whether to raise or report errors |
- Returns
- the exit code
◆ main() [2/2]
Run a clingo based application with the given arguments.
- Parameters
-
lib | the library to store symbols |
arguments | the command line arguments |
app | an optional application to customize solving |
raise_errors | whether to raise or report errors |
- Returns
- the exit code