eta.core.planning.planning_loop
- planning_loop(ds)[source]
 Make modifications to the dialogue plan.
First, all suggested actions are popped from the
actionsbuffer, and used to create a new plan. The plan of the current dialogue state is updated, and the contents of theplansbuffer is replaced with the updated plan.- Second, this attempts to modify the plan in the 
plansbuffer. This consists of the following substeps: Attempt to expand top-level steps in the plan into substeps.
Merge equivalent steps in the plan.
Reorder plan steps according to constraints.
If the plan was modified by the previous step, it is used to update the plan of the current dialogue state, and is re-added to the
plansbuffer.- Parameters:
 ds (DialogueState) –
- Second, this attempts to modify the plan in the