Skip to content

Parser.java

RukNdf edited this page Mar 15, 2021 · 4 revisions

PDDL parser.

Modifying

Function

void main(String args[])

Demo function. Parses the problem and plan in the /test folder, prints the domain to the terminal, and output a LaTeX report to the file "out".

PDDL parseDomain(String filename)

Parses the pddl domain [filename] and returns a PDDL object.

void parseProblem(PDDL domain, String filename)

Parses the pddl problem [filename] and saves it to the PDDL object. It requires a PDDL object with a domain.

void parsePlan(PDDL domain, String filename)

Parses the pddl plan [filename] and saves it to the PDDL object.