}\r
if ( gene_tree.getRoot().getNumberOfDescendants() == 2 ) {\r
gene_tree_branches_post_order.add( new PhylogenyBranch( gene_tree.getRoot().getChildNode1(), gene_tree\r
- .getRoot().getChildNode2() ) );\r
+ .getRoot().getChildNode2() ) );\r
}\r
int min_duplications_sum = Integer.MAX_VALUE;\r
int speciations_sum = 0;\r
/**\r
* Places the root of this Phylogeny on Branch b. The new root is always\r
* placed on the middle of the branch b.\r
- * \r
+ *\r
*/\r
static final void reRoot( final PhylogenyBranch b, final Phylogeny phy ) {\r
final PhylogenyNode n1 = b.getFirstNode();\r
// else if ( ( n1.getParent() != null ) && n1.getParent().isRoot()\r
// && ( ( n1.getParent().getChildNode1() == n2 ) || ( n1.getParent().getChildNode2() == n2 ) ) ) {\r
// phy.reRoot( n1 );\r
- // \r
+ //\r
// }\r
else {\r
throw new IllegalArgumentException( "reRoot( Branch b ): b is not a branch." );\r