ExecutionPlan#

Defined in: voxatlas.pipeline.execution_plan

class voxatlas.pipeline.execution_plan.ExecutionPlan(layers)[source]#

Bases: object

Represent a dependency-sorted feature execution plan.

Parameters:

layers (iterable of iterable of str) – Sequence of dependency layers. Features in the same layer can be executed independently.

Returns:

Normalized execution plan.

Return type:

ExecutionPlan

Notes

The features attribute flattens the layer structure in execution order.

Examples

>>> from voxatlas.pipeline.execution_plan import ExecutionPlan
>>> plan = ExecutionPlan([["a"], ["b", "c"]])
>>> plan.features
['a', 'b', 'c']