langgoap.AStarStrategy#
- class AStarStrategy(*, time_budget_ms=None)[source]#
Pure A* construction heuristic.
Delegates to
langgoap.planner.astar.plan(). Use this when a goal has neither constraints nor objectives and CSP overhead is unwanted.- Parameters:
time_budget_ms (float | None) – Optional wall-clock budget in milliseconds. When set, A* returns the best complete plan found within the budget (anytime behaviour).
Nonemeans run until exhaustion.
- __init__(*, time_budget_ms=None)[source]#
- Parameters:
time_budget_ms (float | None)
- Return type:
None
Methods
__init__(*[, time_budget_ms])plan(start, goal, actions, *[, ...])