Skip to content

Using the GDA Prolog Standard Library

Jan Winkler edited this page Oct 11, 2016 · 1 revision

With increasing amounts of code and predicates to keep in mind when writing reasoning architectures, having a default library and designated files to roll some of the code out to becomes more and more valuable.

In the GDAPlanner software package, this is called the GDA Prolog Standard Library. It consist of a simple set of files in data/lib/std/ that encapsulate most commonly used predicates.

In C++, to load this library, simply say

Prolog plProlog;
plProlog.loadStandardLibrary();

The prolog_tool does this automatically.

Clone this wiki locally