Skip to content

SPR moves: do not modify branch lengths, keep all p_matrices valid #5

@amkozlov

Description

@amkozlov

pll_utree_SPR() function shouldn't make any guesses about new branch lengths after pruning&regrafting. It should set p_matrix indexes in a way that all p_matrices are still valid after SPR move.

This 'minimalistic' function could also go into the core libpll, and in the modules we could provide some higher-level functionality, e.g. a flag for updating p_matrices, optimizing brlens or a separate helper function for setting all 3 brlens after an SPR (see #4).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions