langgoap.ChainOutput#
- class ChainOutput(constraint=None, objective=None)[source]#
Output of a single terminated builder chain.
Exactly one of
constraintorobjectiveis set. Consumed byConstraintBuilder.build().- Parameters:
constraint (ConstraintSpec | None)
objective (tuple[str, ObjectiveDirection] | None)
- __init__(constraint=None, objective=None)#
- Parameters:
constraint (ConstraintSpec | None)
objective (tuple[str, ObjectiveDirection] | None)
- Return type:
None
Methods
__init__([constraint, objective])Attributes
constraintobjective