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:
parent
6512d468ef
commit
1914d8f1ed
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue