virtual Vdouble getBranchLengths() throw (NodeException) { Vdouble brLen(1); for(unsigned int i = 0; i < _root -> getNumberOfSons(); i++) { Vdouble sonBrLen = TreeTools::getBranchLengths(* _root -> getSon(i)); for(unsigned int j = 0; j < sonBrLen.size(); j++) brLen.push_back(sonBrLen[j]); } return brLen; }
virtual vector<double> getBranchLengths() const { return TreeTools::getBranchLengths(* _root); }
		virtual Vdouble getBranchLengths() throw (NodeException)		{			Vdouble brLen(1);			for(unsigned int i = 0; i < _root -> getNumberOfSons(); i++) {				Vdouble sonBrLen = TreeTools::getBranchLengths(* _root -> getSon(i));				for(unsigned int j = 0; j < sonBrLen.size(); j++) brLen.push_back(sonBrLen[j]);			}			return brLen;		}