Exemplo n.º 1
0
 /// <summary>
 /// Loads a PDDL domain from the given input file. Does not include an input data validation.
 /// </summary>
 /// <param name="domainFilePath">PDDL domain input file.</param>
 /// <returns>PDDL domain input data.</returns>
 public static PDDL.Domain LoadDomain(string domainFilePath)
 {
     PDDL.Domain domain = MasterExporter.ToDomain(MasterParser.ParseAndCreateAst <DomainAstNode>(domainFilePath, new MasterGrammarDomain()));
     domain.FilePath = domainFilePath;
     return(domain);
 }