SequentialPlanParser Class
Parser for Sequential planners.
Constructor
SequentialPlanParser()
Methods
| get_plugin_function_names |
Get the plugin and function names from the plugin function name. |
| to_plan_from_xml |
Convert an xml string to a plan. |
get_plugin_function_names
Get the plugin and function names from the plugin function name.
static get_plugin_function_names(plugin_function_name: str) -> tuple[str, str]
Parameters
| Name | Description |
|---|---|
|
plugin_function_name
Required
|
|
to_plan_from_xml
Convert an xml string to a plan.
static to_plan_from_xml(xml_string: str, goal: str, kernel: Kernel, get_plugin_function: Callable[[str, str], KernelFunction | None] | None = None, allow_missing_functions: bool = False)
Parameters
| Name | Description |
|---|---|
|
xml_string
Required
|
|
|
goal
Required
|
|
|
kernel
Required
|
|
|
get_plugin_function
|
Default value: None
|
|
allow_missing_functions
|
Default value: False
|