Copyright | (c) Dominik Schrempf 2020 |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Thu Jun 13 14:06:45 2019.
Non-negativity of branch support values is not (yet) ensured. To ensure non-negativity, a newtype wrapper could be used, but this would be a major refactor.
Synopsis
- type BranchSupport = Double
- class Supported e where
- getSup :: e -> BranchSupport
- setSup :: BranchSupport -> e -> e
- normalizeBranchSupport :: Supported e => Tree e a -> Tree e a
- collapse :: (Eq e, Eq a, Supported e) => BranchSupport -> Tree e a -> Tree e a
Documentation
type BranchSupport = Double Source #
Branch support.
class Supported e where Source #
A branch label that supports extraction and setting of branch support values.
getSup :: e -> BranchSupport Source #
setSup :: BranchSupport -> e -> e Source #
Instances
Supported PhyloExplicit Source # | |
Defined in ELynx.Tree.Phylogeny getSup :: PhyloExplicit -> BranchSupport Source # setSup :: BranchSupport -> PhyloExplicit -> PhyloExplicit Source # | |
Supported Support Source # | |
Defined in ELynx.Tree.Phylogeny |