This is an automated email from the ASF dual-hosted git repository.
erans pushed a change to branch feature__MATH-1563__genetic_algorithm
in repository https://gitbox.apache.org/repos/asf/commons-math.git.
from 7e2213f Merge branch 'feature__MATH-1563__genetic_algorithm' of
https://gitbox.apache.org/repos/asf/commons-math into
feature__MATH-1563__genetic_algorithm
new 765242f MATH-1563: Miscellaneous updates.
new 07deb60 Consolidate POM files.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../examples-ga-math-functions-adaptive}/LICENCE | 0
.../examples-ga-math-functions-adaptive}/NOTICE | 0
.../examples-ga-math-functions-adaptive}/pom.xml | 28 ++---
.../adaptive/AdaptiveMathFunctionOptimizer.java | 96 +++++++++++++++
.../adaptive/ConvergenceGraphPlotter.java} | 10 +-
.../ga/mathfunctions/adaptive/Coordinate.java} | 6 +-
.../mathfunctions/adaptive/CoordinateDecoder.java} | 16 +--
.../ga/mathfunctions/adaptive/MathFunction.java} | 8 +-
.../ga/mathfunctions/adaptive/StandAlone.java | 135 +++++++++++++++++++++
.../ga/mathfunctions/adaptive}/package-info.java | 2 +-
.../examples-ga-math-functions-legacy}/LICENCE | 0
.../examples-ga-math-functions-legacy}/NOTICE | 0
.../examples-ga-math-functions-legacy}/pom.xml | 37 +++---
.../legacy/LegacyBinaryChromosome.java | 12 +-
.../legacy/LegacyMathFunctionOptimizer.java} | 72 +++++------
.../ga/mathfunctions/legacy/StandAlone.java | 101 +++++++++++++++
.../legacy/UnchangedBestFitness.java | 2 +-
.../ga/mathfunctions/legacy}/package-info.java | 2 +-
.../examples-ga/examples-ga-math-functions/pom.xml | 81 ++++++-------
...phPlotter.java => ConvergenceGraphPlotter.java} | 10 +-
.../DimensionNCoordinate.java => Coordinate.java} | 6 +-
...mension2Decoder.java => CoordinateDecoder.java} | 33 ++---
...sion2FitnessFunction.java => MathFunction.java} | 16 +--
.../ga/mathfunctions/MathFunctionOptimizer.java | 101 +++++++++++++++
.../examples/ga/mathfunctions/StandAlone.java | 110 +++++++++++++++++
.../Dimension2FunctionAdaptiveOptimizer.java | 114 -----------------
.../dimension2/Dimension2FunctionOptimizer.java | 114 -----------------
.../dimension2/legacy/package-info.java | 20 ---
.../ga/mathfunctions/dimension2/package-info.java | 20 ---
.../DimensionNFunctionAdaptiveOptimizer.java | 114 -----------------
.../dimensionN/DimensionNFunctionOptimizer.java | 113 -----------------
.../ga/mathfunctions/dimensionN/package-info.java | 20 ---
.../examples/ga/mathfunctions}/package-info.java | 2 +-
.../examples/ga/mathfunctions/utils/Constants.java | 55 ---------
.../examples-ga/examples-ga-tsp-legacy}/LICENCE | 0
.../examples-ga/examples-ga-tsp-legacy}/NOTICE | 0
.../examples-ga-tsp-legacy}/pom.xml | 34 +++---
.../math4/examples/ga/tsp/legacy}/City.java | 2 +-
.../examples/ga/tsp/legacy}/DistanceMatrix.java | 18 +--
.../ga/tsp/legacy/LegacyTSPOptimizer.java} | 61 +++++-----
.../math4/examples/ga/tsp/legacy/StandAlone.java | 103 ++++++++++++++++
.../examples/ga/tsp/legacy/TSPChromosome.java | 9 +-
.../ga/tsp/legacy/UnchangedBestFitness.java | 0
.../math4/examples/ga/tsp/legacy/package-info.java | 0
.../examples-ga/examples-ga-tsp/pom.xml | 86 ++++++-------
.../commons/math4/examples/ga/tsp/City.java} | 41 ++++---
...phPlotter.java => ConvergenceGraphPlotter.java} | 8 +-
.../ga/tsp/{commons => }/DistanceMatrix.java | 18 +--
.../commons/math4/examples/ga/tsp/StandAlone.java | 111 +++++++++++++++++
.../math4/examples/ga/tsp/TSPFitnessFunction.java | 11 +-
.../math4/examples/ga/tsp/TSPOptimizer.java | 79 +++++-------
.../math4/examples/ga/tsp/utils/Constants.java | 65 ----------
commons-math-examples/examples-ga/pom.xml | 88 ++++++++------
.../resources/spotbugs/spotbugs-exclude-filter.xml | 0
.../resources/spotbugs/spotbugs-exclude-filter.xml | 0
commons-math-examples/pom.xml | 22 ++++
commons-math-ga/pom.xml | 116 ++++++++++--------
.../commons/math4/ga/AdaptiveGeneticAlgorithm.java | 2 +-
.../apache/commons/math4/ga/GeneticAlgorithm.java | 2 +-
.../math4/ga/chromosome/BinaryChromosome.java | 10 +-
.../AbstractListChromosomeCrossoverPolicy.java | 2 +-
.../commons/math4/ga/crossover/CycleCrossover.java | 2 +-
.../math4/ga/crossover/OrderedCrossover.java | 1 -
.../math4/ga/crossover/UniformCrossover.java | 1 -
.../ga/decoder/AbstractListChromosomeDecoder.java | 3 +-
.../AbstractListChromosomeMutationPolicy.java | 18 ++-
.../commons/math4/ga/mutation/BinaryMutation.java | 14 +--
.../math4/ga/mutation/IntegralValuedMutation.java | 29 ++++-
.../math4/ga/mutation/RealValuedMutation.java | 19 ++-
.../math4/ga/population/ListPopulation.java | 11 +-
.../math4/ga/chromosome/BinaryChromosomeTest.java | 9 ++
.../math4/ga/dummy/DummyListChromosomeDecoder.java | 6 -
.../AbstractListChromosomeMutationPolicyTest.java | 44 -------
.../math4/ga/mutation/BinaryMutationTest.java | 4 +-
.../ga/mutation/IntegralValuedMutationTest.java | 5 +-
.../math4/ga/mutation/RealValuedMutationTest.java | 31 ++++-
pom.xml | 1 -
.../checkstyle/checkstyle-suppressions.xml | 1 +
78 files changed, 1341 insertions(+), 1202 deletions(-)
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-math-functions-adaptive}/LICENCE
(100%)
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-math-functions-adaptive}/NOTICE
(100%)
copy commons-math-examples/{examples-sofm/tsp =>
examples-ga/examples-ga-math-functions-adaptive}/pom.xml (58%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/AdaptiveMathFunctionOptimizer.java
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimNGraphPlotter.java
=>
examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/ConvergenceGraphPlotter.java}
(91%)
copy
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimensionNCoordinate.java
=>
examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/Coordinate.java}
(89%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimensionNDecoder.java
=>
examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/CoordinateDecoder.java}
(76%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimensionNFitnessFunction.java
=>
examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/MathFunction.java}
(83%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive/StandAlone.java
rename
commons-math-examples/examples-ga/{examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/commons
=>
examples-ga-math-functions-adaptive/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/adaptive}/package-info.java
(92%)
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-math-functions-legacy}/LICENCE
(100%)
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-math-functions-legacy}/NOTICE
(100%)
copy commons-math-examples/{examples-sofm/tsp =>
examples-ga/examples-ga-math-functions-legacy}/pom.xml (58%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2
=>
examples-ga-math-functions-legacy/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions}/legacy/LegacyBinaryChromosome.java
(81%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/legacy/Dimension2FunctionOptimizerLegacy.java
=>
examples-ga-math-functions-legacy/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/legacy/LegacyMathFunctionOptimizer.java}
(56%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions-legacy/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/legacy/StandAlone.java
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2
=>
examples-ga-math-functions-legacy/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions}/legacy/UnchangedBestFitness.java
(96%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/utils
=>
examples-ga-math-functions-legacy/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/legacy}/package-info.java
(92%)
rename
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/{dimension2/Dim2GraphPlotter.java
=> ConvergenceGraphPlotter.java} (91%)
rename
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/{dimensionN/DimensionNCoordinate.java
=> Coordinate.java} (89%)
rename
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/{dimension2/Dimension2Decoder.java
=> CoordinateDecoder.java} (56%)
rename
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/{dimension2/Dimension2FitnessFunction.java
=> MathFunction.java} (68%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/MathFunctionOptimizer.java
create mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/StandAlone.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/Dimension2FunctionAdaptiveOptimizer.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/Dimension2FunctionOptimizer.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/legacy/package-info.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/package-info.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimensionNFunctionAdaptiveOptimizer.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/DimensionNFunctionOptimizer.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimensionN/package-info.java
rename
commons-math-examples/examples-ga/{examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/utils
=>
examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions}/package-info.java
(93%)
delete mode 100644
commons-math-examples/examples-ga/examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/utils/Constants.java
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-tsp-legacy}/LICENCE (100%)
copy {commons-math-neuralnet =>
commons-math-examples/examples-ga/examples-ga-tsp-legacy}/NOTICE (100%)
copy commons-math-examples/{examples-sofm/chinese-rings =>
examples-ga/examples-ga-tsp-legacy}/pom.xml (58%)
rename
commons-math-examples/examples-ga/{examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/commons
=>
examples-ga-tsp-legacy/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy}/City.java
(96%)
copy
commons-math-examples/examples-ga/{examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/commons
=>
examples-ga-tsp-legacy/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy}/DistanceMatrix.java
(82%)
rename
commons-math-examples/examples-ga/{examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/TSPOptimizerLegacy.java
=>
examples-ga-tsp-legacy/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/LegacyTSPOptimizer.java}
(62%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-tsp-legacy/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/StandAlone.java
rename commons-math-examples/examples-ga/{examples-ga-tsp =>
examples-ga-tsp-legacy}/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/TSPChromosome.java
(84%)
rename commons-math-examples/examples-ga/{examples-ga-tsp =>
examples-ga-tsp-legacy}/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/UnchangedBestFitness.java
(100%)
rename commons-math-examples/examples-ga/{examples-ga-tsp =>
examples-ga-tsp-legacy}/src/main/java/org/apache/commons/math4/examples/ga/tsp/legacy/package-info.java
(100%)
rename
commons-math-examples/examples-ga/{examples-ga-math-functions/src/main/java/org/apache/commons/math4/examples/ga/mathfunctions/dimension2/Dimension2Coordinate.java
=>
examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/City.java}
(60%)
rename
commons-math-examples/examples-ga/examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/{utils/GraphPlotter.java
=> ConvergenceGraphPlotter.java} (94%)
rename
commons-math-examples/examples-ga/examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/{commons
=> }/DistanceMatrix.java (83%)
create mode 100644
commons-math-examples/examples-ga/examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/StandAlone.java
delete mode 100644
commons-math-examples/examples-ga/examples-ga-tsp/src/main/java/org/apache/commons/math4/examples/ga/tsp/utils/Constants.java
copy {src =>
commons-math-examples/examples-ga/src}/main/resources/spotbugs/spotbugs-exclude-filter.xml
(100%)
copy {src =>
commons-math-examples/examples-sofm/src}/main/resources/spotbugs/spotbugs-exclude-filter.xml
(100%)
delete mode 100644
commons-math-ga/src/test/java/org/apache/commons/math4/ga/mutation/AbstractListChromosomeMutationPolicyTest.java