eta.transducers.base.ReasonTopDownTransducer
- class ReasonTopDownTransducer[source]
Bases:
Transducer
Maps from a plan step event and a list of facts to a list of new facts inferred from those.
- Parameters:
step (Eventuality) – The event corresponding to the plan step to use as context for inference.
facts (list[Eventuality]) – The list of facts to make inferences from.
- Returns:
A list of new facts inferred from the plan step and given facts.
- Return type:
Methods
Report cumulative costs of applying this transducer.
- cost()
Report cumulative costs of applying this transducer.