Skip to contents

Reconstructs second-pass nodal sets. For normal (all-applicable) characters, this is the final pass. This function is called over a preorder sequence of nodes where left, right, and ancestral nodes are known. Because this function needs to be fairly high-performance, it does not do much checking for parameter validity, thus unsafe usage of this function might not be caught. It is up to calling functions to ensure that the appropriate parameters have been set before use.

Usage

mpl_first_up_recon(node_id, left_id, right_id, anc_id, morphyobj)

Arguments

node_id

The index of the node being reconstructed.

left_id

The index of the left descendant.

right_id

The index of the right descendant.

anc_id

The index of the immediate ancestor of the node.

morphyobj

An instance of the Morphy object.

Value

A null value (for now).

Author

Thomas Guillerme