InvalidPhylogeneticTreeException
extends InvalidArgumentException
in package
Class InvalidPhylogeneticTreeException
Tags
Table of Contents
Methods
- childMustBeANode() : InvalidPhylogeneticTreeException
- Builds the exception raised when a child passed to a PhylogeneticNode is not itself one.
- nonFiniteBranchLength() : InvalidPhylogeneticTreeException
- Builds the exception raised when a branch length is infinite or not a number, which no Newick string can hold.
- unnamedLeaf() : InvalidPhylogeneticTreeException
- Builds the exception raised when a node with no children (a leaf) carries no name, which would make it impossible to identify in the tree regardless of how the tree was built.
Methods
childMustBeANode()
Builds the exception raised when a child passed to a PhylogeneticNode is not itself one.
public
static childMustBeANode(mixed $mGiven) : InvalidPhylogeneticTreeException
Parameters
- $mGiven : mixed
Return values
InvalidPhylogeneticTreeExceptionnonFiniteBranchLength()
Builds the exception raised when a branch length is infinite or not a number, which no Newick string can hold.
public
static nonFiniteBranchLength(float $fBranchLength) : InvalidPhylogeneticTreeException
Parameters
- $fBranchLength : float
Return values
InvalidPhylogeneticTreeExceptionunnamedLeaf()
Builds the exception raised when a node with no children (a leaf) carries no name, which would make it impossible to identify in the tree regardless of how the tree was built.
public
static unnamedLeaf() : InvalidPhylogeneticTreeException