You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/06/21 21:04:04 UTC
svn commit: r787067 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
Author: psteitz
Date: Sun Jun 21 19:04:04 2009
New Revision: 787067
URL: http://svn.apache.org/viewvc?rev=787067&view=rev
Log:
Made protected fields private. JIRA: MATH-207.
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java?rev=787067&r1=787066&r2=787067&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java Sun Jun 21 19:04:04 2009
@@ -56,19 +56,19 @@
}
/** the crossover policy used by the algorithm. */
- protected final CrossoverPolicy crossoverPolicy;
+ private final CrossoverPolicy crossoverPolicy;
/** the rate of crossover for the algorithm. */
- protected final double crossoverRate;
+ private final double crossoverRate;
/** the mutation policy used by the algorithm. */
- protected final MutationPolicy mutationPolicy;
+ private final MutationPolicy mutationPolicy;
/** the rate of mutation for the algorithm. */
- protected final double mutationRate;
+ private final double mutationRate;
/** the selection policy used by the algorithm. */
- protected final SelectionPolicy selectionPolicy;
+ private final SelectionPolicy selectionPolicy;
/**
* @param crossoverPolicy The {@link CrossoverPolicy}