pyprobound.base.BindingOptim

class BindingOptim(ancestry: set[tuple[Component, ...]], steps: list[Step])

Bases: NamedTuple

The sequential optimization steps taken to fit a Binding component.

ancestry

A set of tuples where each successive component is a child component of the previous component, from the root to the Binding component to be optimized; one Binding can occur multiple times.

steps

The sequential optimization steps to fit a Binding component.

__init__()

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

merge_binding_optim()

Merge all redundant steps and redundant calls in a step.

Attributes

ancestry

steps

Non-Inherited Members

ancestry: set[tuple[Component, ...]]
steps: list[Step]
merge_binding_optim()

Merge all redundant steps and redundant calls in a step.

Return type:

None