Fawkes API Fawkes Development Version
pddl_parser::PddlParser Class Reference

Parse a PDDL domain file or problem. More...

#include <>>

Static Public Member Functions

static Domain parseDomain (const std::string &pddl_domain)
 Parse the PDDL domain. More...
 
static Problem parseProblem (const std::string &pddl_problem)
 Parse the PDDL problem. More...
 

Detailed Description

Parse a PDDL domain file or problem.

This class parses a domain/problem into a structured representation of the domain, which can then be used by other components.

See also
pddl_ast.h

Definition at line 33 of file pddl_parser.h.

Member Function Documentation

◆ parseDomain()

Domain pddl_parser::PddlParser::parseDomain ( const std::string &  pddl_domain)
static

Parse the PDDL domain.

Parameters
pddl_domainThe PDDL domain as string (not a path)
Returns
A Domain object that contains the parsed domain.
See also
Domain

Definition at line 72 of file pddl_parser.cpp.

Referenced by fawkes::stn::Stn::set_pddl_domain().

◆ parseProblem()

Problem pddl_parser::PddlParser::parseProblem ( const std::string &  pddl_problem)
static

Parse the PDDL problem.

Parameters
pddl_problemThe problem as string (not a path)
Returns
A Problem object that contains the parsed problem.
See also
Problem

Definition at line 115 of file pddl_parser.cpp.

Referenced by fawkes::stn::Stn::read_initial_state().


The documentation for this class was generated from the following files: