// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.archaeopteryx;
}
}
if ( !phylogeny_node.isRoot() ) {
- addSubelement( category, "Depth", String.valueOf( PhylogenyMethods.calculateDepth( phylogeny_node ) ) );
- final double d = PhylogenyMethods.calculateDistanceToRoot( phylogeny_node );
+ addSubelement( category, "Depth", String.valueOf( phylogeny_node.calculateDepth() ) );
+ final double d = phylogeny_node.calculateDistanceToRoot();
if ( d > 0 ) {
addSubelement( category, "Distance to root", String.valueOf( ForesterUtil.FORMATTER_6.format( d ) ) );
}