langgoap.BuilderOutput#

class BuilderOutput(constraints=(), objectives=<factory>)[source]#

Tagged bundle returned by ConstraintBuilder.build().

Parameters:
  • constraints (tuple[ConstraintSpec, ...])

  • objectives (MappingProxyType)

constraints#

Tuple of ConstraintSpec instances — hard and soft constraints.

Type:

tuple[langgoap.goals.ConstraintSpec, …]

objectives#

Immutable mapping from objective key to direction.

Type:

types.MappingProxyType

__init__(constraints=(), objectives=<factory>)#
Parameters:
  • constraints (tuple[ConstraintSpec, ...])

  • objectives (MappingProxyType)

Return type:

None

Methods

__init__([constraints, objectives])

Attributes