Class SequentialPlanParser


  • public class SequentialPlanParser
    extends Object
    Parse sequential plan text into a plan.
    • Constructor Detail

      • SequentialPlanParser

        public SequentialPlanParser()
    • Method Detail

      • toPlanFromXml

        public static Plan toPlanFromXml​(String xmlString,
                                         String goal,
                                         ReadOnlySkillCollection skills,
                                         boolean allowMissingFunctions)
                                  throws PlanningException
        Convert a plan xml string to a plan
        Parameters:
        xmlString - The plan xml string
        goal - The goal for the plan
        skills - The skills to use
        allowMissingFunctions - Whether to allow missing functions in the plan
        Returns:
        The plan
        Throws:
        PlanningException - If the plan xml is invalid