predecessors: predecessors

Description Usage Arguments Value Examples

Description

In the context of a composite algorithm, return the list of immediate predecessor algorithms to a given component algorithm.

If the component is a constant, the list of predecessors will be empty.

Among the predecessors, we may find the composite if the component is directly linked to one of the composite input bits.

Notation

N^{-}(x)


Usage

1
predecessors(composite, component, ...)

Arguments

composite

The composite within which we want to perform this operation (R6 class algo_composite).

component

The component algorithm whose predecessors we want to list (R6 class algo_base | character vector of the component ID).

Value

The list of predecessor algorithms (list of algo_base items).

Examples

1

daviddoret/haricot documentation built on May 21, 2019, 1:42 a.m.