Fixed javadoc in genetics package.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-02-03 18:10:12 +00:00
parent 6512d468ef
commit 1914d8f1ed
2 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@ public class BinaryMutation implements MutationPolicy {
/**
* 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) {

View File

@ -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);
}