langgoap.ConstraintBuilder#
- class ConstraintBuilder[source]#
Factory and aggregator for
ConstraintChaininstances.Chains start from
for_plan()(planet-wide aggregate) orfor_each_action()(placeholder for future per-action filtering; currently identical tofor_planbecause all constraints are plan-level). Callbuild()with the chain outputs to get aBuilderOutput.- __init__()#
Methods
__init__()build(*outputs)Collect chain outputs into a
BuilderOutput.for_each_action()Start a new chain (alias for
for_plan()for now).for_plan()Start a new chain aggregating over the whole plan.