Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 1.52 KB

File metadata and controls

24 lines (21 loc) · 1.52 KB

A contextualiser is able to take in one format, and enhance it in some way.

PDDL Contextualiser

Static Badge

The PDDL Contextualiser is able to give additional context to domains and problems, such as decorating correct types across all subnodes based on parameters. In details, the PDL contextualiser does the following:

Examples

To contextualise a domain/problem:

IErrorListener listener = new ErrorListener();
IParser<INode> parser = new PDDLParser(listener);
PDDLDecl decl = new PDDLDecl(
    parser.ParseAs<DomainDecl>(new FileInfo("domain.pddl")),
    parser.ParseAs<ProblemDecl>(new FileInfo("problem.pddl"))
)
contextualiser.Contexturalise(decl);