plan4dial.for_generating.parsers.pddl_for_rollout
This module contains all the functions necessary to store the PDDL fluent configuration in an easy-to-access way so that given an action, we can easily retrieve what fluents are in its preconditions and which fluents are in each of its outcomes. This is only used for the rollout implementation for beam search, as it needs to be able to traverse the conversation based on ALL applicable actions and not just the solution generated by the PRP planner.
Authors: - Rebecca De Venezia
Functions
|
Given the configuration data, generates a PDDL configuration in dict form for ease in calculating applicable actions in conversation rollouts. |
- rollout_config(configuration_data: Dict) Dict [source]
Given the configuration data, generates a PDDL configuration in dict form for ease in calculating applicable actions in conversation rollouts.
- Parameters:
configuration_data (Dict) – The configuration data for the domain.
- Returns:
The PDDL configuration in a dict form.
- Return type:
Dict