![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
The tdkc KCMCP reference server.
More...
#include <string>

Go to the source code of this file.
Functions | |
| int | kcmcp_serve (const std::string &endpoint) |
Serve KCMCP on endpoint until terminated. | |
The tdkc KCMCP reference server.
Runs tdkc as a KCMCP-compliant engine (see doc/source/dev/kc-server-protocol.rst): it accepts connections on a Unix or TCP endpoint, advertises compile (to ddnnf-nnf) and wmc (to decimal) over dimacs-cnf input, and serves each request by building a d-DNNF through ProvSQL's in-process tree decomposition. It is a reference / conformance implementation of the protocol; ProvSQL itself keeps tree decomposition in-process rather than talking to it over a socket.
Definition in file kcmcp_server.h.
| int kcmcp_serve | ( | const std::string & | endpoint | ) |
Serve KCMCP on endpoint until terminated.
| endpoint | "unix:/path/to.sock" or "host:port" (e.g. "127.0.0.1:9000"). |
Definition at line 388 of file kcmcp_server.cpp.
