5 #ifndef BPP_PHYL_TREE_PHYLOBRANCH_H
6 #define BPP_PHYL_TREE_PHYLOBRANCH_H
18 class PhyloBranchParam;
General exception thrown when something is wrong with a particular branch.
General exception thrown if a property could not be found.
PhyloBranch * clone() const
PhyloBranch()
Constructors.
PhyloBranch & operator=(const PhyloBranch &branch)
Assignation operator.
Clonable * removeProperty(const std::string &name)
void setProperty(const std::string &name, const Clonable &property)
Set/add a branch property.
bool hasLength() const
Has the length been set?
bool hasProperty(const std::string &name) const
Clonable * getProperty(const std::string &name)
virtual ~PhyloBranch()
destructor. In Graph, nothing is changed.
void deleteLength()
Delete length.
PhyloBranch(double length)
double getLength() const
What is the branch length?
void setLength(double newLength)
std::map< std::string, Clonable * > properties_
void deleteProperties()
Delete all branch properties.
std::vector< std::string > getPropertyNames() const
const Clonable * getProperty(const std::string &name) const
bool hasBootstrapValue() const
void deleteProperty(const std::string &name)
void removeProperties()
Remove all branch properties.
double getBootstrapValue() const
Defines the basic types of data flow nodes.