Corrected misspelled method names (issue: "Typos in method names in
authorcmzmasek <cmzmasek@yahoo.com>
Thu, 14 May 2015 17:08:39 +0000 (10:08 -0700)
committercmzmasek <cmzmasek@yahoo.com>
Thu, 14 May 2015 17:08:39 +0000 (10:08 -0700)
PhylogenyMethods")

forester/java/src/org/forester/archaeopteryx/AptxUtil.java
forester/java/src/org/forester/phylogeny/PhylogenyMethods.java

index 14bcc07..9f42b30 100644 (file)
@@ -631,7 +631,7 @@ public final class AptxUtil {
                 System.out.println( t.toString() );
             }
             desc.append( "\n" );
-            final DescriptiveStatistics bs = PhylogenyMethods.calculatBranchLengthStatistics( phy );
+            final DescriptiveStatistics bs = PhylogenyMethods.calculateBranchLengthStatistics( phy );
             if ( bs.getN() > 3 ) {
                 desc.append( "\n" );
                 desc.append( "Branch-length statistics: " );
@@ -653,7 +653,7 @@ public final class AptxUtil {
                     desc.append( histo.toStringBuffer( 12, '#', 40, 7, "    " ) );
                 }
             }
-            final DescriptiveStatistics ds = PhylogenyMethods.calculatNumberOfDescendantsPerNodeStatistics( phy );
+            final DescriptiveStatistics ds = PhylogenyMethods.calculateNumberOfDescendantsPerNodeStatistics( phy );
             if ( ds.getN() > 2 ) {
                 desc.append( "\n" );
                 desc.append( "Descendants per node statistics: " );
@@ -670,7 +670,7 @@ public final class AptxUtil {
             }
             List<DescriptiveStatistics> css = null;
             try {
-                css = PhylogenyMethods.calculatConfidenceStatistics( phy );
+                css = PhylogenyMethods.calculateConfidenceStatistics( phy );
             }
             catch ( final IllegalArgumentException e ) {
                 ForesterUtil.printWarningMessage( Constants.PRG_NAME, e.getMessage() );
index 3616a89..c3fbc95 100644 (file)
@@ -107,7 +107,7 @@ public class PhylogenyMethods {
         return could_extract;\r
     }\r
 \r
-    public static DescriptiveStatistics calculatBranchLengthStatistics( final Phylogeny phy ) {\r
+    public static DescriptiveStatistics calculateBranchLengthStatistics( final Phylogeny phy ) {\r
         final DescriptiveStatistics stats = new BasicDescriptiveStatistics();\r
         for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) {\r
             final PhylogenyNode n = iter.next();\r
@@ -118,7 +118,7 @@ public class PhylogenyMethods {
         return stats;\r
     }\r
 \r
-    public static List<DescriptiveStatistics> calculatConfidenceStatistics( final Phylogeny phy ) {\r
+    public static List<DescriptiveStatistics> calculateConfidenceStatistics( final Phylogeny phy ) {\r
         final List<DescriptiveStatistics> stats = new ArrayList<DescriptiveStatistics>();\r
         for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) {\r
             final PhylogenyNode n = iter.next();\r
@@ -305,7 +305,7 @@ public class PhylogenyMethods {
         return x;\r
     }\r
 \r
-    public static DescriptiveStatistics calculatNumberOfDescendantsPerNodeStatistics( final Phylogeny phy ) {\r
+    public static DescriptiveStatistics calculateNumberOfDescendantsPerNodeStatistics( final Phylogeny phy ) {\r
         final DescriptiveStatistics stats = new BasicDescriptiveStatistics();\r
         for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) {\r
             final PhylogenyNode n = iter.next();\r