eta.transducers.base.ReactionTransducer
- class ReactionTransducer[source]
 Bases:
TransducerMaps an observed event to a formula for an action that an agent can take.
- Parameters:
 observation (Eventuality) – The observed event for the agent to react to.
- Returns:
 A list of action formulas that the agent can take in reaction to the observation.
- Return type:
 list[s-expr]
Notes
TODO: this should likely be expanded to support a list of observed events rather than a single event, since in general a reaction may be contingent on multiple combined observations.
Methods
Report cumulative costs of applying this transducer.
- cost()
 Report cumulative costs of applying this transducer.