eta.transducers.base.SubplanTransducer

class SubplanTransducer[source]

Bases: Transducer

Maps a plan step event to a list of subplans, i.e., sequences of events that are substeps of the given step.

Parameters:

step (Eventuality) – The event corresponding to a plan step to expand.

Returns:

A list of subplans, where each subplan is a sequence of substep events.

Return type:

list[list[Eventuality]]

Methods

cost

Report cumulative costs of applying this transducer.

__call__(step)[source]

Map from input(s) to output.

cost()

Report cumulative costs of applying this transducer.