Clingo
Loading...
Searching...
No Matches
model.c

The example shows how to inspect a model.

The example shows how to inspect a model.

Output

$ ./model 0
Stable model:
shown: c
atoms: b
terms: c
~atoms: a
Stable model:
shown: a
atoms: a
terms:
~atoms: b

Code

// NOLINTNEXTLINE(bugprone-reserved-identifier)
#define __STDC_FORMAT_MACROS
#include <stdio.h>
int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
printf("TODO\n");
return 0;
}