Skip to contents

A small optimization that can be done after pruning that can speed up computations (it removes the gaps introduced by the pruning)

Usage

delete.gaps(C, ZL, leaf_list)

Arguments

C

A list of list representing the forest structure. See V.star() for more information.

ZL

A list of integer vectors representing the upper bounds \(\zeta_k\) of the forest structure. See V.star() for more information.

leaf_list

A list of vectors representing the atoms of the forest structure. See V.star() for more information.

Value

A list with two named elements.

C

The new C after deleting the gaps.

ZL

The new ZL after deleting the gaps.

Details

See pruning(). This code has not been reviewed since 2023-07-25, use with caution.