langgoap.CSPRefinementStrategy#
- class CSPRefinementStrategy(candidate)[source]#
Run CSP validation / optimization over an existing candidate plan.
This strategy takes a precomputed candidate plan at construction time and refines it through
langgoap.planner.csp.validate_plan(). It does not run A* itself — compose it withAStarStrategyviaTwoPhasePipelineStrategyfor the common case.- Parameters:
candidate (Plan)
Methods
__init__(candidate)plan(start, goal, actions, *[, ...])