You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/02/03 19:10:13 UTC
svn commit: r1240274 - in
/commons/proper/math/trunk/src/main/java/org/apache/commons/math/genetics:
BinaryMutation.java MutationPolicy.java
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);
}