langgoap.TwoPhasePipelineStrategy#
- class TwoPhasePipelineStrategy(*, max_alternatives=5)[source]#
A* construction + CSP refinement, composed as a single strategy.
This is the default strategy: it is equivalent to calling
langgoap.planner.pipeline.plan()directly. The wrapper class exists soGoapPlanner(strategy=...)can accept it via the same Protocol-typed kwarg used for custom strategies.- Parameters:
max_alternatives (int)
Methods
__init__(*[, max_alternatives])plan(start, goal, actions, *[, ...])