13 minimumBrLen_(0.000001),
17 vector<shared_ptr<PhyloBranchParam>> vB =
getAllEdges();
30 minimumBrLen_(pTree.minimumBrLen_),
31 maximumBrLen_(pTree.maximumBrLen_),
32 brLenConstraint_(pTree.brLenConstraint_ ? pTree.brLenConstraint_->clone() : 0)
39 AbstractParametrizable::operator=(pTree);
57 for (vector<shared_ptr<PhyloNode>>::const_iterator it = vpn.begin(); it != vpn.end(); it++)
59 vn.push_back((*it)->getName());
69 vector<shared_ptr<PhyloBranchParam>> vpn =
getAllEdges();
73 vl.push_back(it->getLength());
virtual void shareParameter_(const std::shared_ptr< Parameter > ¶meter)
virtual std::vector< std::shared_ptr< N > > getAllLeaves() const=0
virtual std::vector< std::shared_ptr< E > > getAllEdges() const=0
virtual EdgeIndex getEdgeIndex(const std::shared_ptr< E > edgeObject) const=0
virtual bool hasEdgeIndex(const std::shared_ptr< E > edgeObject) const=0
AssociationTreeGraphImplObserver< N, E, TreeGraphImpl > & operator=(bpp::AssociationTreeGraphImplObserver< N, E, TreeGraphImpl > const &treeGraphObserver)
PhyloTree with Parametrizable Phylo Branches. They SHARE their branch length parameters.
ParametrizablePhyloTree(const PhyloTree &tree, const std::string &prefix="")
void fireParameterChanged(const ParameterList ¶meters)
std::vector< std::string > getAllLeavesNames() const
ParametrizablePhyloTree & operator=(const ParametrizablePhyloTree &pTree)
std::shared_ptr< ConstraintInterface > brLenConstraint_
Vdouble getBranchLengths() const
std::string toString(T t)
Defines the basic types of data flow nodes.
std::vector< double > Vdouble