commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1240274 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics: BinaryMutation.java MutationPolicy.java
Date Fri, 03 Feb 2012 18:10:13 GMT
Author: tn
Date: Fri Feb  3 18:10:12 2012
New Revision: 1240274

URL: http://svn.apache.org/viewvc?rev=1240274&view=rev
Log:
Fixed javadoc in genetics package.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/BinaryMutation.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/MutationPolicy.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/BinaryMutation.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/BinaryMutation.java?rev=1240274&r1=1240273&r2=1240274&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/BinaryMutation.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/BinaryMutation.java
Fri Feb  3 18:10:12 2012
@@ -33,8 +33,8 @@ public class BinaryMutation implements M
     /**
      * Mutate the given chromosome. Randomly changes one gene.
      * @param original the original chromosome.
-     * @return the mutated chromomsome.
-     * @throws MathIllegalArgumentException if the <code>chromosome</code> is
not an instance
+     * @return the mutated chromosome.
+     * @throws MathIllegalArgumentException if <code>original</code> is not an
instance
      *         of {@link BinaryChromosome}.
      */
     public Chromosome mutate(Chromosome original) {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/MutationPolicy.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/MutationPolicy.java?rev=1240274&r1=1240273&r2=1240274&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/MutationPolicy.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics/MutationPolicy.java
Fri Feb  3 18:10:12 2012
@@ -17,7 +17,7 @@
 package org.apache.commons.math.genetics;
 
 /**
- * Algorithm used to mutate a chrommosome.
+ * Algorithm used to mutate a chromosome.
  *
  * @since 2.0
  * @version $Id$
@@ -27,7 +27,7 @@ public interface MutationPolicy {
     /**
      * Mutate the given chromosome.
      * @param original the original chromosome.
-     * @return the mutated chromomsome.
+     * @return the mutated chromosome.
      */
     Chromosome mutate(Chromosome original);
 }



Mime
View raw message