From 8189116ea4b5db4675e31dfd04a5687d55e29262 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 6 May 2014 14:29:37 +0100 Subject: Added javadocs, made minor changes to the comments --- .../function/DigitalCircuitFunctions.And.html | 329 +++++++++ .../function/DigitalCircuitFunctions.AndNotA.html | 329 +++++++++ .../function/DigitalCircuitFunctions.AndNotB.html | 329 +++++++++ .../DigitalCircuitFunctions.ConstantOne.html | 329 +++++++++ .../DigitalCircuitFunctions.ConstantZero.html | 329 +++++++++ .../function/DigitalCircuitFunctions.Mux1.html | 330 +++++++++ .../function/DigitalCircuitFunctions.Mux2.html | 330 +++++++++ .../function/DigitalCircuitFunctions.Mux3.html | 330 +++++++++ .../function/DigitalCircuitFunctions.Mux4.html | 330 +++++++++ .../function/DigitalCircuitFunctions.Nand.html | 329 +++++++++ .../function/DigitalCircuitFunctions.Nor.html | 329 +++++++++ .../function/DigitalCircuitFunctions.NotA.html | 329 +++++++++ .../function/DigitalCircuitFunctions.NotB.html | 329 +++++++++ .../function/DigitalCircuitFunctions.Or.html | 329 +++++++++ .../function/DigitalCircuitFunctions.OrNotA.html | 329 +++++++++ .../function/DigitalCircuitFunctions.OrNotB.html | 329 +++++++++ .../function/DigitalCircuitFunctions.WireA.html | 329 +++++++++ .../function/DigitalCircuitFunctions.WireB.html | 329 +++++++++ .../function/DigitalCircuitFunctions.Xnor.html | 329 +++++++++ .../function/DigitalCircuitFunctions.Xor.html | 329 +++++++++ .../backend/function/DigitalCircuitFunctions.html | 398 ++++++++++ doc/jcgp/backend/function/Function.html | 310 ++++++++ doc/jcgp/backend/function/FunctionSet.html | 452 ++++++++++++ .../SymbolicRegressionFunctions.Absolute.html | 333 +++++++++ .../SymbolicRegressionFunctions.Addition.html | 329 +++++++++ .../SymbolicRegressionFunctions.Cosine.html | 333 +++++++++ .../SymbolicRegressionFunctions.CosineAB.html | 333 +++++++++ .../SymbolicRegressionFunctions.Division.html | 330 +++++++++ .../SymbolicRegressionFunctions.Exponential.html | 333 +++++++++ ...mbolicRegressionFunctions.HyperbolicCosine.html | 333 +++++++++ ...SymbolicRegressionFunctions.HyperbolicSine.html | 333 +++++++++ ...bolicRegressionFunctions.HyperbolicTangent.html | 333 +++++++++ .../SymbolicRegressionFunctions.Hypotenuse.html | 334 +++++++++ .../SymbolicRegressionFunctions.LogBaseTen.html | 335 +++++++++ ...SymbolicRegressionFunctions.Multiplication.html | 329 +++++++++ .../SymbolicRegressionFunctions.NaturalLog.html | 335 +++++++++ .../SymbolicRegressionFunctions.Power.html | 333 +++++++++ .../SymbolicRegressionFunctions.Reciprocal.html | 330 +++++++++ .../function/SymbolicRegressionFunctions.Sine.html | 333 +++++++++ .../SymbolicRegressionFunctions.SineAB.html | 333 +++++++++ .../SymbolicRegressionFunctions.SquareRoot.html | 334 +++++++++ .../SymbolicRegressionFunctions.Subtraction.html | 329 +++++++++ .../SymbolicRegressionFunctions.Tangent.html | 335 +++++++++ .../function/SymbolicRegressionFunctions.html | 439 +++++++++++ ...avellingSalesmanFunctions.AbsoluteCosineAB.html | 334 +++++++++ ...esmanFunctions.AbsoluteHyperbolicTangentAB.html | 334 +++++++++ ...TravellingSalesmanFunctions.AbsoluteSineAB.html | 334 +++++++++ ...ravellingSalesmanFunctions.BoundedDivision.html | 330 +++++++++ .../function/TravellingSalesmanFunctions.Cube.html | 329 +++++++++ ...TravellingSalesmanFunctions.Multiplication.html | 329 +++++++++ ...TravellingSalesmanFunctions.ScaledAddition.html | 330 +++++++++ ...vellingSalesmanFunctions.ScaledExponential.html | 334 +++++++++ ...avellingSalesmanFunctions.ScaledHypotenuse.html | 334 +++++++++ .../TravellingSalesmanFunctions.Square.html | 330 +++++++++ .../TravellingSalesmanFunctions.SquareRoot.html | 334 +++++++++ ...ingSalesmanFunctions.SquaredMultiplication.html | 329 +++++++++ ...lingSalesmanFunctions.SymmetricSubtraction.html | 330 +++++++++ .../function/TravellingSalesmanFunctions.html | 357 +++++++++ doc/jcgp/backend/function/UnsignedInteger.html | 364 +++++++++ .../class-use/DigitalCircuitFunctions.And.html | 124 ++++ .../class-use/DigitalCircuitFunctions.AndNotA.html | 124 ++++ .../class-use/DigitalCircuitFunctions.AndNotB.html | 124 ++++ .../DigitalCircuitFunctions.ConstantOne.html | 124 ++++ .../DigitalCircuitFunctions.ConstantZero.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Mux1.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Mux2.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Mux3.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Mux4.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Nand.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Nor.html | 124 ++++ .../class-use/DigitalCircuitFunctions.NotA.html | 124 ++++ .../class-use/DigitalCircuitFunctions.NotB.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Or.html | 124 ++++ .../class-use/DigitalCircuitFunctions.OrNotA.html | 124 ++++ .../class-use/DigitalCircuitFunctions.OrNotB.html | 124 ++++ .../class-use/DigitalCircuitFunctions.WireA.html | 124 ++++ .../class-use/DigitalCircuitFunctions.WireB.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Xnor.html | 124 ++++ .../class-use/DigitalCircuitFunctions.Xor.html | 124 ++++ .../class-use/DigitalCircuitFunctions.html | 124 ++++ doc/jcgp/backend/function/class-use/Function.html | 633 ++++++++++++++++ .../backend/function/class-use/FunctionSet.html | 302 ++++++++ .../SymbolicRegressionFunctions.Absolute.html | 124 ++++ .../SymbolicRegressionFunctions.Addition.html | 124 ++++ .../SymbolicRegressionFunctions.Cosine.html | 124 ++++ .../SymbolicRegressionFunctions.CosineAB.html | 124 ++++ .../SymbolicRegressionFunctions.Division.html | 124 ++++ .../SymbolicRegressionFunctions.Exponential.html | 124 ++++ ...mbolicRegressionFunctions.HyperbolicCosine.html | 124 ++++ ...SymbolicRegressionFunctions.HyperbolicSine.html | 124 ++++ ...bolicRegressionFunctions.HyperbolicTangent.html | 124 ++++ .../SymbolicRegressionFunctions.Hypotenuse.html | 124 ++++ .../SymbolicRegressionFunctions.LogBaseTen.html | 124 ++++ ...SymbolicRegressionFunctions.Multiplication.html | 124 ++++ .../SymbolicRegressionFunctions.NaturalLog.html | 124 ++++ .../SymbolicRegressionFunctions.Power.html | 124 ++++ .../SymbolicRegressionFunctions.Reciprocal.html | 124 ++++ .../SymbolicRegressionFunctions.Sine.html | 124 ++++ .../SymbolicRegressionFunctions.SineAB.html | 124 ++++ .../SymbolicRegressionFunctions.SquareRoot.html | 124 ++++ .../SymbolicRegressionFunctions.Subtraction.html | 124 ++++ .../SymbolicRegressionFunctions.Tangent.html | 124 ++++ .../class-use/SymbolicRegressionFunctions.html | 124 ++++ ...avellingSalesmanFunctions.AbsoluteCosineAB.html | 124 ++++ ...esmanFunctions.AbsoluteHyperbolicTangentAB.html | 124 ++++ ...TravellingSalesmanFunctions.AbsoluteSineAB.html | 124 ++++ ...ravellingSalesmanFunctions.BoundedDivision.html | 124 ++++ .../TravellingSalesmanFunctions.Cube.html | 124 ++++ ...TravellingSalesmanFunctions.Multiplication.html | 124 ++++ ...TravellingSalesmanFunctions.ScaledAddition.html | 124 ++++ ...vellingSalesmanFunctions.ScaledExponential.html | 124 ++++ ...avellingSalesmanFunctions.ScaledHypotenuse.html | 124 ++++ .../TravellingSalesmanFunctions.Square.html | 124 ++++ .../TravellingSalesmanFunctions.SquareRoot.html | 124 ++++ ...ingSalesmanFunctions.SquaredMultiplication.html | 124 ++++ ...lingSalesmanFunctions.SymmetricSubtraction.html | 124 ++++ .../class-use/TravellingSalesmanFunctions.html | 124 ++++ .../function/class-use/UnsignedInteger.html | 263 +++++++ doc/jcgp/backend/function/package-frame.html | 78 ++ doc/jcgp/backend/function/package-summary.html | 502 +++++++++++++ doc/jcgp/backend/function/package-tree.html | 201 +++++ doc/jcgp/backend/function/package-use.html | 289 ++++++++ doc/jcgp/backend/modules/Module.html | 288 ++++++++ doc/jcgp/backend/modules/class-use/Module.html | 292 ++++++++ .../backend/modules/es/EvolutionaryStrategy.html | 290 ++++++++ doc/jcgp/backend/modules/es/MuPlusLambda.html | 330 +++++++++ .../backend/modules/es/TournamentSelection.html | 333 +++++++++ .../modules/es/class-use/EvolutionaryStrategy.html | 213 ++++++ .../backend/modules/es/class-use/MuPlusLambda.html | 124 ++++ .../modules/es/class-use/TournamentSelection.html | 124 ++++ doc/jcgp/backend/modules/es/package-frame.html | 22 + doc/jcgp/backend/modules/es/package-summary.html | 162 ++++ doc/jcgp/backend/modules/es/package-tree.html | 146 ++++ doc/jcgp/backend/modules/es/package-use.html | 180 +++++ .../backend/modules/mutator/FixedPointMutator.html | 284 +++++++ doc/jcgp/backend/modules/mutator/Mutator.html | 281 +++++++ .../modules/mutator/PercentPointMutator.html | 285 +++++++ doc/jcgp/backend/modules/mutator/PointMutator.html | 281 +++++++ .../modules/mutator/ProbabilisticMutator.html | 319 ++++++++ .../mutator/class-use/FixedPointMutator.html | 124 ++++ .../backend/modules/mutator/class-use/Mutator.html | 269 +++++++ .../mutator/class-use/PercentPointMutator.html | 124 ++++ .../modules/mutator/class-use/PointMutator.html | 179 +++++ .../mutator/class-use/ProbabilisticMutator.html | 124 ++++ .../backend/modules/mutator/package-frame.html | 24 + .../backend/modules/mutator/package-summary.html | 182 +++++ doc/jcgp/backend/modules/mutator/package-tree.html | 151 ++++ doc/jcgp/backend/modules/mutator/package-use.html | 210 ++++++ doc/jcgp/backend/modules/package-frame.html | 20 + doc/jcgp/backend/modules/package-summary.html | 144 ++++ doc/jcgp/backend/modules/package-tree.html | 137 ++++ doc/jcgp/backend/modules/package-use.html | 201 +++++ doc/jcgp/backend/modules/problem/BestFitness.html | 341 +++++++++ .../modules/problem/DigitalCircuitProblem.html | 455 ++++++++++++ doc/jcgp/backend/modules/problem/Problem.html | 508 +++++++++++++ .../modules/problem/SymbolicRegressionProblem.html | 468 ++++++++++++ .../modules/problem/TestCaseProblem.TestCase.html | 358 +++++++++ .../backend/modules/problem/TestCaseProblem.html | 427 +++++++++++ .../modules/problem/TravellingSalesmanProblem.html | 433 +++++++++++ .../modules/problem/class-use/BestFitness.html | 212 ++++++ .../problem/class-use/DigitalCircuitProblem.html | 124 ++++ .../backend/modules/problem/class-use/Problem.html | 217 ++++++ .../class-use/SymbolicRegressionProblem.html | 124 ++++ .../class-use/TestCaseProblem.TestCase.html | 249 +++++++ .../modules/problem/class-use/TestCaseProblem.html | 227 ++++++ .../class-use/TravellingSalesmanProblem.html | 124 ++++ .../backend/modules/problem/package-frame.html | 28 + .../backend/modules/problem/package-summary.html | 188 +++++ doc/jcgp/backend/modules/problem/package-tree.html | 163 ++++ doc/jcgp/backend/modules/problem/package-use.html | 305 ++++++++ doc/jcgp/backend/parameters/BooleanParameter.html | 394 ++++++++++ doc/jcgp/backend/parameters/DoubleParameter.html | 394 ++++++++++ doc/jcgp/backend/parameters/IntegerParameter.html | 394 ++++++++++ doc/jcgp/backend/parameters/Parameter.html | 466 ++++++++++++ doc/jcgp/backend/parameters/ParameterStatus.html | 432 +++++++++++ .../parameters/class-use/BooleanParameter.html | 167 +++++ .../parameters/class-use/DoubleParameter.html | 167 +++++ .../parameters/class-use/IntegerParameter.html | 237 ++++++ .../backend/parameters/class-use/Parameter.html | 267 +++++++ .../parameters/class-use/ParameterStatus.html | 177 +++++ .../parameters/monitors/BooleanMonitor.html | 368 +++++++++ .../backend/parameters/monitors/DoubleMonitor.html | 368 +++++++++ .../parameters/monitors/IntegerMonitor.html | 368 +++++++++ .../monitors/class-use/BooleanMonitor.html | 124 ++++ .../monitors/class-use/DoubleMonitor.html | 124 ++++ .../monitors/class-use/IntegerMonitor.html | 124 ++++ .../backend/parameters/monitors/package-frame.html | 22 + .../parameters/monitors/package-summary.html | 159 ++++ .../backend/parameters/monitors/package-tree.html | 155 ++++ .../backend/parameters/monitors/package-use.html | 124 ++++ doc/jcgp/backend/parameters/package-frame.html | 27 + doc/jcgp/backend/parameters/package-summary.html | 179 +++++ doc/jcgp/backend/parameters/package-tree.html | 155 ++++ doc/jcgp/backend/parameters/package-use.html | 263 +++++++ doc/jcgp/backend/parsers/ChromosomeParser.html | 324 ++++++++ doc/jcgp/backend/parsers/FunctionParser.html | 301 ++++++++ doc/jcgp/backend/parsers/ParameterParser.html | 294 ++++++++ doc/jcgp/backend/parsers/TestCaseParser.html | 296 ++++++++ .../parsers/class-use/ChromosomeParser.html | 124 ++++ .../backend/parsers/class-use/FunctionParser.html | 124 ++++ .../backend/parsers/class-use/ParameterParser.html | 124 ++++ .../backend/parsers/class-use/TestCaseParser.html | 124 ++++ doc/jcgp/backend/parsers/package-frame.html | 23 + doc/jcgp/backend/parsers/package-summary.html | 166 +++++ doc/jcgp/backend/parsers/package-tree.html | 140 ++++ doc/jcgp/backend/parsers/package-use.html | 124 ++++ doc/jcgp/backend/population/Chromosome.html | 742 +++++++++++++++++++ doc/jcgp/backend/population/Connection.html | 249 +++++++ doc/jcgp/backend/population/Gene.html | 241 ++++++ doc/jcgp/backend/population/Input.html | 361 +++++++++ doc/jcgp/backend/population/MutableElement.html | 306 ++++++++ doc/jcgp/backend/population/Node.html | 544 ++++++++++++++ doc/jcgp/backend/population/Output.html | 447 +++++++++++ doc/jcgp/backend/population/Population.html | 411 +++++++++++ .../backend/population/class-use/Chromosome.html | 340 +++++++++ .../backend/population/class-use/Connection.html | 301 ++++++++ doc/jcgp/backend/population/class-use/Gene.html | 194 +++++ doc/jcgp/backend/population/class-use/Input.html | 187 +++++ .../population/class-use/MutableElement.html | 228 ++++++ doc/jcgp/backend/population/class-use/Node.html | 244 ++++++ doc/jcgp/backend/population/class-use/Output.html | 202 +++++ .../backend/population/class-use/Population.html | 265 +++++++ doc/jcgp/backend/population/package-frame.html | 29 + doc/jcgp/backend/population/package-summary.html | 196 +++++ doc/jcgp/backend/population/package-tree.html | 146 ++++ doc/jcgp/backend/population/package-use.html | 338 +++++++++ doc/jcgp/backend/resources/Console.html | 286 +++++++ .../backend/resources/ModifiableResources.html | 819 +++++++++++++++++++++ doc/jcgp/backend/resources/Resources.html | 804 ++++++++++++++++++++ doc/jcgp/backend/resources/class-use/Console.html | 214 ++++++ .../resources/class-use/ModifiableResources.html | 234 ++++++ .../backend/resources/class-use/Resources.html | 379 ++++++++++ doc/jcgp/backend/resources/package-frame.html | 25 + doc/jcgp/backend/resources/package-summary.html | 167 +++++ doc/jcgp/backend/resources/package-tree.html | 145 ++++ doc/jcgp/backend/resources/package-use.html | 326 ++++++++ doc/jcgp/backend/statistics/RunEntry.html | 354 +++++++++ doc/jcgp/backend/statistics/StatisticsLogger.html | 562 ++++++++++++++ .../backend/statistics/class-use/RunEntry.html | 124 ++++ .../statistics/class-use/StatisticsLogger.html | 124 ++++ doc/jcgp/backend/statistics/package-frame.html | 21 + doc/jcgp/backend/statistics/package-summary.html | 150 ++++ doc/jcgp/backend/statistics/package-tree.html | 138 ++++ doc/jcgp/backend/statistics/package-use.html | 124 ++++ 244 files changed, 58657 insertions(+) create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.And.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotA.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotB.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantOne.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantZero.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Mux1.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Mux2.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Mux3.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Mux4.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Nand.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Nor.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.NotA.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.NotB.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Or.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotA.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotB.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.WireA.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.WireB.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Xnor.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.Xor.html create mode 100644 doc/jcgp/backend/function/DigitalCircuitFunctions.html create mode 100644 doc/jcgp/backend/function/Function.html create mode 100644 doc/jcgp/backend/function/FunctionSet.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Absolute.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Addition.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Cosine.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.CosineAB.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Division.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Exponential.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicCosine.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicSine.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicTangent.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Hypotenuse.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.LogBaseTen.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Multiplication.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.NaturalLog.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Power.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Reciprocal.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Sine.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.SineAB.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.SquareRoot.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Subtraction.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.Tangent.html create mode 100644 doc/jcgp/backend/function/SymbolicRegressionFunctions.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteCosineAB.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteSineAB.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.BoundedDivision.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.Cube.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.Multiplication.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledAddition.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledExponential.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledHypotenuse.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.Square.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.SquareRoot.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.SquaredMultiplication.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.SymmetricSubtraction.html create mode 100644 doc/jcgp/backend/function/TravellingSalesmanFunctions.html create mode 100644 doc/jcgp/backend/function/UnsignedInteger.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.And.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotA.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotB.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantOne.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantZero.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux1.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux2.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux3.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux4.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nand.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nor.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotA.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotB.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Or.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotA.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotB.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireA.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireB.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xnor.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xor.html create mode 100644 doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.html create mode 100644 doc/jcgp/backend/function/class-use/Function.html create mode 100644 doc/jcgp/backend/function/class-use/FunctionSet.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Absolute.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Addition.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Cosine.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.CosineAB.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Division.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Exponential.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicCosine.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicSine.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicTangent.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Hypotenuse.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.LogBaseTen.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Multiplication.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.NaturalLog.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Power.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Reciprocal.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Sine.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SineAB.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SquareRoot.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Subtraction.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Tangent.html create mode 100644 doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteCosineAB.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteSineAB.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.BoundedDivision.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Cube.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Multiplication.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledAddition.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledExponential.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledHypotenuse.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Square.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquareRoot.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquaredMultiplication.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SymmetricSubtraction.html create mode 100644 doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.html create mode 100644 doc/jcgp/backend/function/class-use/UnsignedInteger.html create mode 100644 doc/jcgp/backend/function/package-frame.html create mode 100644 doc/jcgp/backend/function/package-summary.html create mode 100644 doc/jcgp/backend/function/package-tree.html create mode 100644 doc/jcgp/backend/function/package-use.html create mode 100644 doc/jcgp/backend/modules/Module.html create mode 100644 doc/jcgp/backend/modules/class-use/Module.html create mode 100644 doc/jcgp/backend/modules/es/EvolutionaryStrategy.html create mode 100644 doc/jcgp/backend/modules/es/MuPlusLambda.html create mode 100644 doc/jcgp/backend/modules/es/TournamentSelection.html create mode 100644 doc/jcgp/backend/modules/es/class-use/EvolutionaryStrategy.html create mode 100644 doc/jcgp/backend/modules/es/class-use/MuPlusLambda.html create mode 100644 doc/jcgp/backend/modules/es/class-use/TournamentSelection.html create mode 100644 doc/jcgp/backend/modules/es/package-frame.html create mode 100644 doc/jcgp/backend/modules/es/package-summary.html create mode 100644 doc/jcgp/backend/modules/es/package-tree.html create mode 100644 doc/jcgp/backend/modules/es/package-use.html create mode 100644 doc/jcgp/backend/modules/mutator/FixedPointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/Mutator.html create mode 100644 doc/jcgp/backend/modules/mutator/PercentPointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/PointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/class-use/FixedPointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/class-use/Mutator.html create mode 100644 doc/jcgp/backend/modules/mutator/class-use/PercentPointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/class-use/PointMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/class-use/ProbabilisticMutator.html create mode 100644 doc/jcgp/backend/modules/mutator/package-frame.html create mode 100644 doc/jcgp/backend/modules/mutator/package-summary.html create mode 100644 doc/jcgp/backend/modules/mutator/package-tree.html create mode 100644 doc/jcgp/backend/modules/mutator/package-use.html create mode 100644 doc/jcgp/backend/modules/package-frame.html create mode 100644 doc/jcgp/backend/modules/package-summary.html create mode 100644 doc/jcgp/backend/modules/package-tree.html create mode 100644 doc/jcgp/backend/modules/package-use.html create mode 100644 doc/jcgp/backend/modules/problem/BestFitness.html create mode 100644 doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html create mode 100644 doc/jcgp/backend/modules/problem/Problem.html create mode 100644 doc/jcgp/backend/modules/problem/SymbolicRegressionProblem.html create mode 100644 doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html create mode 100644 doc/jcgp/backend/modules/problem/TestCaseProblem.html create mode 100644 doc/jcgp/backend/modules/problem/TravellingSalesmanProblem.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/BestFitness.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/DigitalCircuitProblem.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/Problem.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/SymbolicRegressionProblem.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.TestCase.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.html create mode 100644 doc/jcgp/backend/modules/problem/class-use/TravellingSalesmanProblem.html create mode 100644 doc/jcgp/backend/modules/problem/package-frame.html create mode 100644 doc/jcgp/backend/modules/problem/package-summary.html create mode 100644 doc/jcgp/backend/modules/problem/package-tree.html create mode 100644 doc/jcgp/backend/modules/problem/package-use.html create mode 100644 doc/jcgp/backend/parameters/BooleanParameter.html create mode 100644 doc/jcgp/backend/parameters/DoubleParameter.html create mode 100644 doc/jcgp/backend/parameters/IntegerParameter.html create mode 100644 doc/jcgp/backend/parameters/Parameter.html create mode 100644 doc/jcgp/backend/parameters/ParameterStatus.html create mode 100644 doc/jcgp/backend/parameters/class-use/BooleanParameter.html create mode 100644 doc/jcgp/backend/parameters/class-use/DoubleParameter.html create mode 100644 doc/jcgp/backend/parameters/class-use/IntegerParameter.html create mode 100644 doc/jcgp/backend/parameters/class-use/Parameter.html create mode 100644 doc/jcgp/backend/parameters/class-use/ParameterStatus.html create mode 100644 doc/jcgp/backend/parameters/monitors/BooleanMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/DoubleMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/IntegerMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/class-use/BooleanMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/class-use/DoubleMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/class-use/IntegerMonitor.html create mode 100644 doc/jcgp/backend/parameters/monitors/package-frame.html create mode 100644 doc/jcgp/backend/parameters/monitors/package-summary.html create mode 100644 doc/jcgp/backend/parameters/monitors/package-tree.html create mode 100644 doc/jcgp/backend/parameters/monitors/package-use.html create mode 100644 doc/jcgp/backend/parameters/package-frame.html create mode 100644 doc/jcgp/backend/parameters/package-summary.html create mode 100644 doc/jcgp/backend/parameters/package-tree.html create mode 100644 doc/jcgp/backend/parameters/package-use.html create mode 100644 doc/jcgp/backend/parsers/ChromosomeParser.html create mode 100644 doc/jcgp/backend/parsers/FunctionParser.html create mode 100644 doc/jcgp/backend/parsers/ParameterParser.html create mode 100644 doc/jcgp/backend/parsers/TestCaseParser.html create mode 100644 doc/jcgp/backend/parsers/class-use/ChromosomeParser.html create mode 100644 doc/jcgp/backend/parsers/class-use/FunctionParser.html create mode 100644 doc/jcgp/backend/parsers/class-use/ParameterParser.html create mode 100644 doc/jcgp/backend/parsers/class-use/TestCaseParser.html create mode 100644 doc/jcgp/backend/parsers/package-frame.html create mode 100644 doc/jcgp/backend/parsers/package-summary.html create mode 100644 doc/jcgp/backend/parsers/package-tree.html create mode 100644 doc/jcgp/backend/parsers/package-use.html create mode 100644 doc/jcgp/backend/population/Chromosome.html create mode 100644 doc/jcgp/backend/population/Connection.html create mode 100644 doc/jcgp/backend/population/Gene.html create mode 100644 doc/jcgp/backend/population/Input.html create mode 100644 doc/jcgp/backend/population/MutableElement.html create mode 100644 doc/jcgp/backend/population/Node.html create mode 100644 doc/jcgp/backend/population/Output.html create mode 100644 doc/jcgp/backend/population/Population.html create mode 100644 doc/jcgp/backend/population/class-use/Chromosome.html create mode 100644 doc/jcgp/backend/population/class-use/Connection.html create mode 100644 doc/jcgp/backend/population/class-use/Gene.html create mode 100644 doc/jcgp/backend/population/class-use/Input.html create mode 100644 doc/jcgp/backend/population/class-use/MutableElement.html create mode 100644 doc/jcgp/backend/population/class-use/Node.html create mode 100644 doc/jcgp/backend/population/class-use/Output.html create mode 100644 doc/jcgp/backend/population/class-use/Population.html create mode 100644 doc/jcgp/backend/population/package-frame.html create mode 100644 doc/jcgp/backend/population/package-summary.html create mode 100644 doc/jcgp/backend/population/package-tree.html create mode 100644 doc/jcgp/backend/population/package-use.html create mode 100644 doc/jcgp/backend/resources/Console.html create mode 100644 doc/jcgp/backend/resources/ModifiableResources.html create mode 100644 doc/jcgp/backend/resources/Resources.html create mode 100644 doc/jcgp/backend/resources/class-use/Console.html create mode 100644 doc/jcgp/backend/resources/class-use/ModifiableResources.html create mode 100644 doc/jcgp/backend/resources/class-use/Resources.html create mode 100644 doc/jcgp/backend/resources/package-frame.html create mode 100644 doc/jcgp/backend/resources/package-summary.html create mode 100644 doc/jcgp/backend/resources/package-tree.html create mode 100644 doc/jcgp/backend/resources/package-use.html create mode 100644 doc/jcgp/backend/statistics/RunEntry.html create mode 100644 doc/jcgp/backend/statistics/StatisticsLogger.html create mode 100644 doc/jcgp/backend/statistics/class-use/RunEntry.html create mode 100644 doc/jcgp/backend/statistics/class-use/StatisticsLogger.html create mode 100644 doc/jcgp/backend/statistics/package-frame.html create mode 100644 doc/jcgp/backend/statistics/package-summary.html create mode 100644 doc/jcgp/backend/statistics/package-tree.html create mode 100644 doc/jcgp/backend/statistics/package-use.html (limited to 'doc/jcgp/backend') diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.And.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.And.html new file mode 100644 index 0000000..23a7de4 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.And.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.And + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.And

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      And() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        And

        +
        public And()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotA.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotA.html new file mode 100644 index 0000000..c6817a3 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotA.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.AndNotA + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.AndNotA

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.AndNotA
    +extends Function
    +
    ANDs inputs together with one input inverted.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AndNotA() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AndNotA

        +
        public AndNotA()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotB.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotB.html new file mode 100644 index 0000000..d42241d --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.AndNotB.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.AndNotB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.AndNotB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.AndNotB
    +extends Function
    +
    ANDs inputs together with one input inverted.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AndNotB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AndNotB

        +
        public AndNotB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantOne.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantOne.html new file mode 100644 index 0000000..96689f1 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantOne.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.ConstantOne + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.ConstantOne

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.ConstantOne
    +extends Function
    +
    Outputs a constant 1, has no inputs.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ConstantOne() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConstantOne

        +
        public ConstantOne()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantZero.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantZero.html new file mode 100644 index 0000000..b21a7c7 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.ConstantZero.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.ConstantZero + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.ConstantZero

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.ConstantZero
    +extends Function
    +
    Outputs a constant 0, has no inputs.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ConstantZero() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConstantZero

        +
        public ConstantZero()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux1.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux1.html new file mode 100644 index 0000000..3b93699 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux1.html @@ -0,0 +1,330 @@ + + + + + +DigitalCircuitFunctions.Mux1 + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Mux1

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.Mux1
    +extends Function
    +
    Works as a multiplexer. Outputs either one of its two inputs + depending on a third input (select).
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Mux1() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Mux1

        +
        public Mux1()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux2.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux2.html new file mode 100644 index 0000000..951ed18 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux2.html @@ -0,0 +1,330 @@ + + + + + +DigitalCircuitFunctions.Mux2 + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Mux2

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.Mux2
    +extends Function
    +
    Works as a multiplexer. Outputs either one of its two inputs + depending on a third input (select). Input 0 is inverted.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Mux2() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Mux2

        +
        public Mux2()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux3.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux3.html new file mode 100644 index 0000000..56c9c00 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux3.html @@ -0,0 +1,330 @@ + + + + + +DigitalCircuitFunctions.Mux3 + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Mux3

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.Mux3
    +extends Function
    +
    Works as a multiplexer. Outputs either one of its two inputs + depending on a third input (select). Input 1 is inverted.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Mux3() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Mux3

        +
        public Mux3()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux4.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux4.html new file mode 100644 index 0000000..044bccc --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Mux4.html @@ -0,0 +1,330 @@ + + + + + +DigitalCircuitFunctions.Mux4 + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Mux4

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.Mux4
    +extends Function
    +
    Works as a multiplexer. Outputs either one of its two inputs + depending on a third input (select). Both inputs are inverted.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Mux4() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Mux4

        +
        public Mux4()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Nand.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Nand.html new file mode 100644 index 0000000..1239ab6 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Nand.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.Nand + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Nand

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Nand() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Nand

        +
        public Nand()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Nor.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Nor.html new file mode 100644 index 0000000..04215de --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Nor.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.Nor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Nor

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Nor() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Nor

        +
        public Nor()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.NotA.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.NotA.html new file mode 100644 index 0000000..2cb1bc7 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.NotA.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.NotA + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.NotA

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.NotA
    +extends Function
    +
    Inverts input, equivalent to inverter logic gate.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NotA() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NotA

        +
        public NotA()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.NotB.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.NotB.html new file mode 100644 index 0000000..597fec6 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.NotB.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.NotB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.NotB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.NotB
    +extends Function
    +
    Inverts input, equivalent to inverter logic gate.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NotB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NotB

        +
        public NotB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Or.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Or.html new file mode 100644 index 0000000..f393976 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Or.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.Or + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Or

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Or() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Or

        +
        public Or()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotA.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotA.html new file mode 100644 index 0000000..031a72c --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotA.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.OrNotA + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.OrNotA

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.OrNotA
    +extends Function
    +
    ORs inputs together with one inverted input.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      OrNotA() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OrNotA

        +
        public OrNotA()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotB.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotB.html new file mode 100644 index 0000000..7eb8869 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.OrNotB.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.OrNotB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.OrNotB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.OrNotB
    +extends Function
    +
    ORs inputs together with one inverted input.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      OrNotB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OrNotB

        +
        public OrNotB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.WireA.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.WireA.html new file mode 100644 index 0000000..1f02741 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.WireA.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.WireA + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.WireA

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.WireA
    +extends Function
    +
    Connects one node to another with no function.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      WireA() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WireA

        +
        public WireA()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.WireB.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.WireB.html new file mode 100644 index 0000000..c76b05b --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.WireB.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.WireB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.WireB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    DigitalCircuitFunctions
    +
    +
    +
    +
    public static class DigitalCircuitFunctions.WireB
    +extends Function
    +
    Connects one node to another with no function.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      WireB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WireB

        +
        public WireB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Xnor.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Xnor.html new file mode 100644 index 0000000..b9bfed3 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Xnor.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.Xnor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Xnor

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Xnor() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Xnor

        +
        public Xnor()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.Xor.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.Xor.html new file mode 100644 index 0000000..2d0a535 --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.Xor.html @@ -0,0 +1,329 @@ + + + + + +DigitalCircuitFunctions.Xor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions.Xor

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Xor() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      UnsignedIntegerrun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Xor

        +
        public Xor()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public UnsignedInteger run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/DigitalCircuitFunctions.html b/doc/jcgp/backend/function/DigitalCircuitFunctions.html new file mode 100644 index 0000000..071507e --- /dev/null +++ b/doc/jcgp/backend/function/DigitalCircuitFunctions.html @@ -0,0 +1,398 @@ + + + + + +DigitalCircuitFunctions + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class DigitalCircuitFunctions

+
+
+ +
+
    +
  • +
    +
    +
    public class DigitalCircuitFunctions
    +extends FunctionSet
    +
    This class contains all digital circuit functions + (defined as unsigned integer functions in the classic + CGP implementation) defined in static nested classes. +
    + This is the function set used by DigitalCircuitProblem.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    DigitalCircuitProblem
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DigitalCircuitFunctions

        +
        public DigitalCircuitFunctions()
        +
        Creates a new instance of DigitalCircuitFunctions.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/Function.html b/doc/jcgp/backend/function/Function.html new file mode 100644 index 0000000..e08145b --- /dev/null +++ b/doc/jcgp/backend/function/Function.html @@ -0,0 +1,310 @@ + + + + + +Function + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class Function

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Function() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      abstract intgetArity() 
      abstract java.lang.Objectrun(java.lang.Object... args) +
      Executes the function.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Function

        +
        public Function()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public abstract java.lang.Object run(java.lang.Object... args)
        +
        Executes the function.
        +
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public abstract int getArity()
        +
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/FunctionSet.html b/doc/jcgp/backend/function/FunctionSet.html new file mode 100644 index 0000000..cca036d --- /dev/null +++ b/doc/jcgp/backend/function/FunctionSet.html @@ -0,0 +1,452 @@ + + + + + +FunctionSet + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class FunctionSet

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    DigitalCircuitFunctions, SymbolicRegressionFunctions, TravellingSalesmanFunctions
    +
    +
    +
    +
    public abstract class FunctionSet
    +extends java.lang.Object
    +
    FunctionSet encapsulates a group of functions. This is done to + simplify the implementation of problem types. +

    + FunctionSet contains a variety of useful methods for acquiring general + information, such as the maximum arity across all functions and the total + number of functions. +

    + In addition, FunctionSet offers the ability to enable and disable functions. + Accessing the functions through getAllowedFunction() will return + allowed functions only, providing an easy way to control which functions + can be used in mutations. +

    + An implementation of FunctionSet must simply use its constructor to set + the name field and use registerFunctions() to add the required + functions.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FunctionSet

        +
        public FunctionSet()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAllowedFunctionCount

        +
        public int getAllowedFunctionCount()
        +
        +
        Returns:
        +
        the number of currently allowed functions.
        +
        +
      • +
      + + + +
        +
      • +

        getTotalFunctionCount

        +
        public int getTotalFunctionCount()
        +
        +
        Returns:
        +
        the total number of functions, including disabled ones.
        +
        +
      • +
      + + + +
        +
      • +

        getAllowedFunction

        +
        public Function getAllowedFunction(int index)
        +
        Returns an allowed function. This throws an + ArrayIndexOutOfBoundsException if the supplied + index is beyond the count of allowed functions.
        +
        +
        Parameters:
        +
        index - the allowed function index.
        +
        Returns:
        +
        the allowed function object.
        +
        +
      • +
      + + + +
        +
      • +

        getFunction

        +
        public Function getFunction(int index)
        +
        Returns a function from the complete collection, + enabled or disabled alike. This throws an + ArrayIndexOutOfBoundsException if the supplied + index is beyond the count of allowed functions.
        +
        +
        Parameters:
        +
        index - the function index.
        +
        Returns:
        +
        the function object.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxArity

        +
        public int getMaxArity()
        +
        Computes and returns the maximum arity out of + all enabled functions.
        +
        +
        Returns:
        +
        the problem's current maximum arity.
        +
        +
      • +
      + + + +
        +
      • +

        disableFunction

        +
        public void disableFunction(int index)
        +
        Disables the indexed function. If the function + is already disabled, this does nothing.
        +
        +
        Parameters:
        +
        index - the function to disable.
        +
        +
      • +
      + + + +
        +
      • +

        enableFunction

        +
        public void enableFunction(int index)
        +
        Disables the indexed function. If the function is + already enabled, this does nothing.
        +
        +
        Parameters:
        +
        index - the function to disable.
        +
        +
      • +
      + + + +
        +
      • +

        isEnabled

        +
        public boolean isEnabled(Function function)
        +
        Checks if a specified function is enabled. If the function + does not belong in the FunctionSet, this returns false.
        +
        +
        Parameters:
        +
        function - the function to check.
        +
        Returns:
        +
        true if the function is enabled.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Absolute.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Absolute.html new file mode 100644 index 0000000..786917e --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Absolute.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.Absolute + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Absolute

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Absolute
    +extends Function
    +
    Absolute returns the positive value of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Absolute() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Absolute

        +
        public Absolute()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Addition.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Addition.html new file mode 100644 index 0000000..537e2e1 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Addition.html @@ -0,0 +1,329 @@ + + + + + +SymbolicRegressionFunctions.Addition + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Addition

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Addition
    +extends Function
    +
    Addition returns the sum of inputs 0 and 1.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Addition() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Addition

        +
        public Addition()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Cosine.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Cosine.html new file mode 100644 index 0000000..3769145 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Cosine.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.Cosine + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Cosine

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Cosine
    +extends Function
    +
    Cosine function, in radians.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Cosine() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Cosine

        +
        public Cosine()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.CosineAB.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.CosineAB.html new file mode 100644 index 0000000..5c47925 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.CosineAB.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.CosineAB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.CosineAB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.CosineAB
    +extends Function
    +
    Cosine of sum. Returns the cosine of the sum of inputs 0 and 1.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      CosineAB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CosineAB

        +
        public CosineAB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Division.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Division.html new file mode 100644 index 0000000..c839d72 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Division.html @@ -0,0 +1,330 @@ + + + + + +SymbolicRegressionFunctions.Division + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Division

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Division
    +extends Function
    +
    Protected division, returns the quotient of input 0 (the dividend) and input 1 (the divisor). + If the divisor is less than DoubleArithmetic.DIVISION_LIMIT, this returns it unchanged.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Division() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Division

        +
        public Division()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Exponential.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Exponential.html new file mode 100644 index 0000000..29c7cdc --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Exponential.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.Exponential + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Exponential

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Exponential
    +extends Function
    +
    Exponential function. Returns e raised to input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Exponential() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Exponential

        +
        public Exponential()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicCosine.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicCosine.html new file mode 100644 index 0000000..495e5f6 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicCosine.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.HyperbolicCosine + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.HyperbolicCosine

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.HyperbolicCosine
    +extends Function
    +
    Returns the hyperbolic cosine of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      HyperbolicCosine() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HyperbolicCosine

        +
        public HyperbolicCosine()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicSine.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicSine.html new file mode 100644 index 0000000..d7ae905 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicSine.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.HyperbolicSine + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.HyperbolicSine

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.HyperbolicSine
    +extends Function
    +
    Returns the hyperbolic sine of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      HyperbolicSine() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HyperbolicSine

        +
        public HyperbolicSine()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicTangent.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicTangent.html new file mode 100644 index 0000000..6db7945 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.HyperbolicTangent.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.HyperbolicTangent + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.HyperbolicTangent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.HyperbolicTangent
    +extends Function
    +
    Returns the hyperbolic tangent of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      HyperbolicTangent() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HyperbolicTangent

        +
        public HyperbolicTangent()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Hypotenuse.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Hypotenuse.html new file mode 100644 index 0000000..cdaa3a9 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Hypotenuse.html @@ -0,0 +1,334 @@ + + + + + +SymbolicRegressionFunctions.Hypotenuse + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Hypotenuse

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Hypotenuse
    +extends Function
    +
    Hypotenuse function. Returns the square root of input 0 squared + plus input 1 squared.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Hypotenuse() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Hypotenuse

        +
        public Hypotenuse()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.LogBaseTen.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.LogBaseTen.html new file mode 100644 index 0000000..f48312e --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.LogBaseTen.html @@ -0,0 +1,335 @@ + + + + + +SymbolicRegressionFunctions.LogBaseTen + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.LogBaseTen

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.LogBaseTen
    +extends Function
    +
    Protected log base 10 function. Returns the log to base 10 the absolute + value of input 0. If input 0 is less than DoubleArithmetic.DIVISION_LIMIT, + this returns it unchanged.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      LogBaseTen() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LogBaseTen

        +
        public LogBaseTen()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Multiplication.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Multiplication.html new file mode 100644 index 0000000..4940cff --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Multiplication.html @@ -0,0 +1,329 @@ + + + + + +SymbolicRegressionFunctions.Multiplication + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Multiplication

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Multiplication
    +extends Function
    +
    Multiplication returns the product of inputs 0 and 1.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Multiplication() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Multiplication

        +
        public Multiplication()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.NaturalLog.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.NaturalLog.html new file mode 100644 index 0000000..d9ce85c --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.NaturalLog.html @@ -0,0 +1,335 @@ + + + + + +SymbolicRegressionFunctions.NaturalLog + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.NaturalLog

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.NaturalLog
    +extends Function
    +
    Protected natural log function. Returns the natural log of the absolute + value of input 0. If input 0 is less than DoubleArithmetic.DIVISION_LIMIT, + this returns it unchanged.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NaturalLog() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NaturalLog

        +
        public NaturalLog()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Power.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Power.html new file mode 100644 index 0000000..b51cf10 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Power.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.Power + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Power

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Power
    +extends Function
    +
    Power function. Returns the absolute value of input 0 to the power of input 1.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Power() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Power

        +
        public Power()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Reciprocal.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Reciprocal.html new file mode 100644 index 0000000..3798576 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Reciprocal.html @@ -0,0 +1,330 @@ + + + + + +SymbolicRegressionFunctions.Reciprocal + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Reciprocal

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Reciprocal
    +extends Function
    +
    Protected reciprocal function, returns (1 / input 0). If input 0 is less than + DoubleArithmetic.DIVISION_LIMIT, this returns it unchanged.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Reciprocal() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Reciprocal

        +
        public Reciprocal()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Sine.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Sine.html new file mode 100644 index 0000000..2961d73 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Sine.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.Sine + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Sine

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Sine
    +extends Function
    +
    Sine function, in radians.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Sine() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Sine

        +
        public Sine()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.SineAB.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.SineAB.html new file mode 100644 index 0000000..71d48dd --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.SineAB.html @@ -0,0 +1,333 @@ + + + + + +SymbolicRegressionFunctions.SineAB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.SineAB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.SineAB
    +extends Function
    +
    Sine of sum. Returns the sine of the sum of inputs 0 and 1.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SineAB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SineAB

        +
        public SineAB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.SquareRoot.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.SquareRoot.html new file mode 100644 index 0000000..c2f1031 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.SquareRoot.html @@ -0,0 +1,334 @@ + + + + + +SymbolicRegressionFunctions.SquareRoot + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.SquareRoot

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.SquareRoot
    +extends Function
    +
    Protected square root function, returns the square root of the absolute + value of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SquareRoot() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SquareRoot

        +
        public SquareRoot()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Subtraction.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Subtraction.html new file mode 100644 index 0000000..3940b40 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Subtraction.html @@ -0,0 +1,329 @@ + + + + + +SymbolicRegressionFunctions.Subtraction + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Subtraction

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Subtraction
    +extends Function
    +
    Subtraction returns the difference between inputs 0 and 1.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Subtraction() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Subtraction

        +
        public Subtraction()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.Tangent.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Tangent.html new file mode 100644 index 0000000..997f66b --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.Tangent.html @@ -0,0 +1,335 @@ + + + + + +SymbolicRegressionFunctions.Tangent + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions.Tangent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    SymbolicRegressionFunctions
    +
    +
    +
    +
    public static class SymbolicRegressionFunctions.Tangent
    +extends Function
    +
    Protected tangent function, in radians. Returns the tangent of input 0. + If input 0 is less than DoubleArithmetic.DIVISION_LIMIT, + this returns it unchanged.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Tangent() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Tangent

        +
        public Tangent()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/SymbolicRegressionFunctions.html b/doc/jcgp/backend/function/SymbolicRegressionFunctions.html new file mode 100644 index 0000000..a42a2f8 --- /dev/null +++ b/doc/jcgp/backend/function/SymbolicRegressionFunctions.html @@ -0,0 +1,439 @@ + + + + + +SymbolicRegressionFunctions + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class SymbolicRegressionFunctions

+
+
+ +
+
    +
  • +
    +
    +
    public class SymbolicRegressionFunctions
    +extends FunctionSet
    +
    This class contains all symbolic regression functions + (defined as double functions in the classic CGP implementation) + in static nested classes. +
    + This is the function set used by SymbolicRegressionProblem.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    SymbolicRegressionProblem
    +
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SymbolicRegressionFunctions

        +
        public SymbolicRegressionFunctions()
        +
        Creates a new instance of SymbolicRegressionFunctions.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteCosineAB.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteCosineAB.html new file mode 100644 index 0000000..d8e3bfa --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteCosineAB.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.AbsoluteCosineAB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.AbsoluteCosineAB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.AbsoluteCosineAB
    +extends Function
    +
    Cosine of sum. Returns the absolute value of the cosine + of the sum of inputs 0 and 1, in radians.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AbsoluteCosineAB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbsoluteCosineAB

        +
        public AbsoluteCosineAB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html new file mode 100644 index 0000000..0232b99 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB
    +extends Function
    +
    Hyperbolic tangent of sum. Returns the absolute value of the sine + of the sum of inputs 0 and 1, in radians.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbsoluteHyperbolicTangentAB

        +
        public AbsoluteHyperbolicTangentAB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteSineAB.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteSineAB.html new file mode 100644 index 0000000..8a2e666 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.AbsoluteSineAB.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.AbsoluteSineAB + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.AbsoluteSineAB

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.AbsoluteSineAB
    +extends Function
    +
    Sine of sum. Returns the absolute value of the sine + of the sum of inputs 0 and 1, in radians.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AbsoluteSineAB() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbsoluteSineAB

        +
        public AbsoluteSineAB()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.BoundedDivision.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.BoundedDivision.html new file mode 100644 index 0000000..35a470c --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.BoundedDivision.html @@ -0,0 +1,330 @@ + + + + + +TravellingSalesmanFunctions.BoundedDivision + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.BoundedDivision

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.BoundedDivision
    +extends Function
    +
    Bounded division, returns the quotient of the two inputs where the larger + is the denominator.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      BoundedDivision() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BoundedDivision

        +
        public BoundedDivision()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.Cube.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Cube.html new file mode 100644 index 0000000..e88fc1b --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Cube.html @@ -0,0 +1,329 @@ + + + + + +TravellingSalesmanFunctions.Cube + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.Cube

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.Cube
    +extends Function
    +
    Cube function, returns the value of input 0 cubed.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Cube() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Cube

        +
        public Cube()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.Multiplication.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Multiplication.html new file mode 100644 index 0000000..2f271d3 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Multiplication.html @@ -0,0 +1,329 @@ + + + + + +TravellingSalesmanFunctions.Multiplication + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.Multiplication

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.Multiplication
    +extends Function
    +
    Multiplication returns the product of inputs 0 and 1.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Multiplication() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Multiplication

        +
        public Multiplication()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledAddition.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledAddition.html new file mode 100644 index 0000000..ea13fcd --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledAddition.html @@ -0,0 +1,330 @@ + + + + + +TravellingSalesmanFunctions.ScaledAddition + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.ScaledAddition

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.ScaledAddition
    +extends Function
    +
    Scaled addition returns the sum of inputs 0 and 1 scaled + to the range 0 < x > 1.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ScaledAddition() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ScaledAddition

        +
        public ScaledAddition()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledExponential.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledExponential.html new file mode 100644 index 0000000..757dc3e --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledExponential.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.ScaledExponential + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.ScaledExponential

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.ScaledExponential
    +extends Function
    +
    Scaled exponential function. Returns the exponential of input 0 + scaled to the range 0 < x > 1.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ScaledExponential() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ScaledExponential

        +
        public ScaledExponential()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledHypotenuse.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledHypotenuse.html new file mode 100644 index 0000000..85001b6 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.ScaledHypotenuse.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.ScaledHypotenuse + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.ScaledHypotenuse

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.ScaledHypotenuse
    +extends Function
    +
    Scaled hypotenuse function. Returns the square root of input 0 squared + plus input 1 squared, scaled to the range 0 < x > 1.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ScaledHypotenuse() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ScaledHypotenuse

        +
        public ScaledHypotenuse()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.Square.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Square.html new file mode 100644 index 0000000..7d08fcb --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.Square.html @@ -0,0 +1,330 @@ + + + + + +TravellingSalesmanFunctions.Square + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.Square

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.Square
    +extends Function
    +
    Square function, returns the square of the + value of input 0.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Square() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Square

        +
        public Square()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquareRoot.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquareRoot.html new file mode 100644 index 0000000..cb4feb3 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquareRoot.html @@ -0,0 +1,334 @@ + + + + + +TravellingSalesmanFunctions.SquareRoot + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.SquareRoot

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.SquareRoot
    +extends Function
    +
    Protected square root function, returns the square root of the absolute + value of input 0.
    +
    +
    See Also:
    +
    Math
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SquareRoot() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SquareRoot

        +
        public SquareRoot()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquaredMultiplication.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquaredMultiplication.html new file mode 100644 index 0000000..4eb9cd0 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SquaredMultiplication.html @@ -0,0 +1,329 @@ + + + + + +TravellingSalesmanFunctions.SquaredMultiplication + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.SquaredMultiplication

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.SquaredMultiplication
    +extends Function
    +
    Multiplication returns the product of inputs 0 and 1, squared.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SquaredMultiplication

        +
        public SquaredMultiplication()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.SymmetricSubtraction.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SymmetricSubtraction.html new file mode 100644 index 0000000..3e194dc --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.SymmetricSubtraction.html @@ -0,0 +1,330 @@ + + + + + +TravellingSalesmanFunctions.SymmetricSubtraction + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions.SymmetricSubtraction

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    TravellingSalesmanFunctions
    +
    +
    +
    +
    public static class TravellingSalesmanFunctions.SymmetricSubtraction
    +extends Function
    +
    Symmetric subtraction returns the absolute difference between inputs 0 and 1, + scaled to the range 0 <; x > 1.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetArity() 
      java.lang.Doublerun(java.lang.Object... args) +
      Executes the function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SymmetricSubtraction

        +
        public SymmetricSubtraction()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        run

        +
        public java.lang.Double run(java.lang.Object... args)
        +
        Description copied from class: Function
        +
        Executes the function.
        +
        +
        Specified by:
        +
        run in class Function
        +
        Parameters:
        +
        args - the function arguments.
        +
        Returns:
        +
        the function result.
        +
        +
      • +
      + + + +
        +
      • +

        getArity

        +
        public int getArity()
        +
        +
        Specified by:
        +
        getArity in class Function
        +
        Returns:
        +
        the arity of the function.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/TravellingSalesmanFunctions.html b/doc/jcgp/backend/function/TravellingSalesmanFunctions.html new file mode 100644 index 0000000..fbc5b00 --- /dev/null +++ b/doc/jcgp/backend/function/TravellingSalesmanFunctions.html @@ -0,0 +1,357 @@ + + + + + +TravellingSalesmanFunctions + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class TravellingSalesmanFunctions

+
+
+ +
+
    +
  • +
    +
    +
    public class TravellingSalesmanFunctions
    +extends FunctionSet
    +
    This class contains all travelling salesman functions in static nested classes. +
    + This is the function set to be used by TravellingSalesmanProblem.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TravellingSalesmanFunctions

        +
        public TravellingSalesmanFunctions()
        +
        Creates a new instance of TravellingSalesmanFunctions.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/UnsignedInteger.html b/doc/jcgp/backend/function/UnsignedInteger.html new file mode 100644 index 0000000..ca02b07 --- /dev/null +++ b/doc/jcgp/backend/function/UnsignedInteger.html @@ -0,0 +1,364 @@ + + + + + +UnsignedInteger + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.function
+

Class UnsignedInteger

+
+
+ +
+
    +
  • +
    +
    +
    public class UnsignedInteger
    +extends java.lang.Object
    +
    Integer wrapper type for unsigned integer values. +

    + Java offers no support for unsigned types save from + unsigned conversion methods. This class uses those methods + to simulate the unsigned int data type, useful for circuit + truth table encodings. +

    + When a string representation of an unsigned integer is parsed + using Integer.parseUnsignedInt(), an Integer is created using + all 32 bits for unsigned magnitude. The integer however is still + signed and will behave as such for all arithmetic operations. + Bitwise operations can still be performed as they work at the bit + level, making this data type particularly suitable for circuit design. +

    + TODO in the unlikely event that unsigned integers are natively + implemented in Java, they should be used instead of this class. +

    + Why are unsigned integers not supported?
    + http://stackoverflow.com/questions/430346/why-doesnt-java-support-unsigned-ints
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Integer
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      UnsignedInteger(int i) +
      Makes a new instance of UnsignedInteger with a specified value.
      +
      UnsignedInteger(java.lang.Integer i) +
      Makes a new instance of UnsignedInteger with a specified value.
      +
      UnsignedInteger(java.lang.String i) +
      Makes a new instance of UnsignedInteger from the string representation + of an unsigned integer.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Integerget() 
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UnsignedInteger

        +
        public UnsignedInteger(int i)
        +
        Makes a new instance of UnsignedInteger with a specified value.
        +
        +
        Parameters:
        +
        i - the value with which to initialise.
        +
        +
      • +
      + + + +
        +
      • +

        UnsignedInteger

        +
        public UnsignedInteger(java.lang.Integer i)
        +
        Makes a new instance of UnsignedInteger with a specified value.
        +
        +
        Parameters:
        +
        i - the value with which to initialise.
        +
        +
      • +
      + + + +
        +
      • +

        UnsignedInteger

        +
        public UnsignedInteger(java.lang.String i)
        +
        Makes a new instance of UnsignedInteger from the string representation + of an unsigned integer.
        +
        +
        Parameters:
        +
        i - the string with which to initialise.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public java.lang.Integer get()
        +
        +
        Returns:
        +
        the wrapped Integer object.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.And.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.And.html new file mode 100644 index 0000000..107e22d --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.And.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.And + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.And

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.And
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotA.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotA.html new file mode 100644 index 0000000..a7b3439 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotA.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.AndNotA + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.AndNotA

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.AndNotA
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotB.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotB.html new file mode 100644 index 0000000..31510c1 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.AndNotB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.AndNotB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.AndNotB

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.AndNotB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantOne.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantOne.html new file mode 100644 index 0000000..dec308e --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantOne.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.ConstantOne + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.ConstantOne

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.ConstantOne
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantZero.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantZero.html new file mode 100644 index 0000000..f80f3a7 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.ConstantZero.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.ConstantZero + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.ConstantZero

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.ConstantZero
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux1.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux1.html new file mode 100644 index 0000000..033532c --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux1.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Mux1 + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Mux1

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Mux1
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux2.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux2.html new file mode 100644 index 0000000..a4d0264 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux2.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Mux2 + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Mux2

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Mux2
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux3.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux3.html new file mode 100644 index 0000000..70f0dcd --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux3.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Mux3 + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Mux3

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Mux3
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux4.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux4.html new file mode 100644 index 0000000..77a6383 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Mux4.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Mux4 + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Mux4

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Mux4
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nand.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nand.html new file mode 100644 index 0000000..ffe458b --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nand.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Nand + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Nand

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Nand
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nor.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nor.html new file mode 100644 index 0000000..daea02f --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Nor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Nor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Nor

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Nor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotA.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotA.html new file mode 100644 index 0000000..5f05dfe --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotA.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.NotA + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.NotA

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.NotA
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotB.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotB.html new file mode 100644 index 0000000..0907bc4 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.NotB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.NotB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.NotB

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.NotB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Or.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Or.html new file mode 100644 index 0000000..2d18f2b --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Or.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Or + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Or

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Or
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotA.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotA.html new file mode 100644 index 0000000..1d8dfe1 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotA.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.OrNotA + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.OrNotA

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.OrNotA
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotB.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotB.html new file mode 100644 index 0000000..6b0891d --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.OrNotB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.OrNotB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.OrNotB

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.OrNotB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireA.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireA.html new file mode 100644 index 0000000..a871482 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireA.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.WireA + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.WireA

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.WireA
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireB.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireB.html new file mode 100644 index 0000000..b34aa10 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.WireB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.WireB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.WireB

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.WireB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xnor.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xnor.html new file mode 100644 index 0000000..35410eb --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xnor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Xnor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Xnor

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Xnor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xor.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xor.html new file mode 100644 index 0000000..be394f8 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.Xor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions.Xor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions.Xor

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions.Xor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.html b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.html new file mode 100644 index 0000000..214540f --- /dev/null +++ b/doc/jcgp/backend/function/class-use/DigitalCircuitFunctions.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.DigitalCircuitFunctions + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.DigitalCircuitFunctions

+
+
No usage of jcgp.backend.function.DigitalCircuitFunctions
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/Function.html b/doc/jcgp/backend/function/class-use/Function.html new file mode 100644 index 0000000..e20c5cb --- /dev/null +++ b/doc/jcgp/backend/function/class-use/Function.html @@ -0,0 +1,633 @@ + + + + + +Uses of Class jcgp.backend.function.Function + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.Function

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/FunctionSet.html b/doc/jcgp/backend/function/class-use/FunctionSet.html new file mode 100644 index 0000000..e736cd7 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/FunctionSet.html @@ -0,0 +1,302 @@ + + + + + +Uses of Class jcgp.backend.function.FunctionSet + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.FunctionSet

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Absolute.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Absolute.html new file mode 100644 index 0000000..ea69f0f --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Absolute.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Absolute + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Absolute

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Absolute
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Addition.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Addition.html new file mode 100644 index 0000000..f3baa3a --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Addition.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Addition + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Addition

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Addition
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Cosine.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Cosine.html new file mode 100644 index 0000000..136b8d2 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Cosine.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Cosine + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Cosine

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Cosine
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.CosineAB.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.CosineAB.html new file mode 100644 index 0000000..a5975a7 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.CosineAB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.CosineAB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.CosineAB

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.CosineAB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Division.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Division.html new file mode 100644 index 0000000..52a8a52 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Division.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Division + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Division

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Division
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Exponential.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Exponential.html new file mode 100644 index 0000000..8b5bfc1 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Exponential.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Exponential + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Exponential

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Exponential
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicCosine.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicCosine.html new file mode 100644 index 0000000..b7076a0 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicCosine.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicCosine + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicCosine

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicCosine
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicSine.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicSine.html new file mode 100644 index 0000000..b754a81 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicSine.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicSine + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicSine

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicSine
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicTangent.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicTangent.html new file mode 100644 index 0000000..3270007 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.HyperbolicTangent.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicTangent + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicTangent

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.HyperbolicTangent
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Hypotenuse.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Hypotenuse.html new file mode 100644 index 0000000..182e596 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Hypotenuse.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Hypotenuse + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Hypotenuse

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Hypotenuse
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.LogBaseTen.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.LogBaseTen.html new file mode 100644 index 0000000..9687b65 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.LogBaseTen.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.LogBaseTen + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.LogBaseTen

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.LogBaseTen
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Multiplication.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Multiplication.html new file mode 100644 index 0000000..931f7b5 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Multiplication.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Multiplication + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Multiplication

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Multiplication
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.NaturalLog.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.NaturalLog.html new file mode 100644 index 0000000..2f4a062 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.NaturalLog.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.NaturalLog + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.NaturalLog

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.NaturalLog
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Power.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Power.html new file mode 100644 index 0000000..24e0325 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Power.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Power + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Power

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Power
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Reciprocal.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Reciprocal.html new file mode 100644 index 0000000..f756d5e --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Reciprocal.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Reciprocal + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Reciprocal

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Reciprocal
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Sine.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Sine.html new file mode 100644 index 0000000..56b42c8 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Sine.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Sine + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Sine

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Sine
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SineAB.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SineAB.html new file mode 100644 index 0000000..b814c7d --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SineAB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.SineAB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.SineAB

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.SineAB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SquareRoot.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SquareRoot.html new file mode 100644 index 0000000..7832d14 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.SquareRoot.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.SquareRoot + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.SquareRoot

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.SquareRoot
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Subtraction.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Subtraction.html new file mode 100644 index 0000000..51f4440 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Subtraction.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Subtraction + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Subtraction

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Subtraction
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Tangent.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Tangent.html new file mode 100644 index 0000000..edca5ad --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.Tangent.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions.Tangent + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions.Tangent

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions.Tangent
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.html b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.html new file mode 100644 index 0000000..78c1a06 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/SymbolicRegressionFunctions.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.SymbolicRegressionFunctions + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.SymbolicRegressionFunctions

+
+
No usage of jcgp.backend.function.SymbolicRegressionFunctions
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteCosineAB.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteCosineAB.html new file mode 100644 index 0000000..c6cbc89 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteCosineAB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteCosineAB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteCosineAB

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteCosineAB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html new file mode 100644 index 0000000..28d9dd3 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteHyperbolicTangentAB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteSineAB.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteSineAB.html new file mode 100644 index 0000000..db4d5a4 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.AbsoluteSineAB.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteSineAB + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteSineAB

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.AbsoluteSineAB
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.BoundedDivision.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.BoundedDivision.html new file mode 100644 index 0000000..658d989 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.BoundedDivision.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.BoundedDivision + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.BoundedDivision

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.BoundedDivision
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Cube.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Cube.html new file mode 100644 index 0000000..8b0dfc0 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Cube.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.Cube + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.Cube

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.Cube
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Multiplication.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Multiplication.html new file mode 100644 index 0000000..345272a --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Multiplication.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.Multiplication + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.Multiplication

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.Multiplication
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledAddition.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledAddition.html new file mode 100644 index 0000000..a74370a --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledAddition.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.ScaledAddition + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.ScaledAddition

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.ScaledAddition
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledExponential.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledExponential.html new file mode 100644 index 0000000..4e57613 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledExponential.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.ScaledExponential + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.ScaledExponential

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.ScaledExponential
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledHypotenuse.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledHypotenuse.html new file mode 100644 index 0000000..c80ed8d --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.ScaledHypotenuse.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.ScaledHypotenuse + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.ScaledHypotenuse

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.ScaledHypotenuse
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Square.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Square.html new file mode 100644 index 0000000..ad84b0b --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.Square.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.Square + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.Square

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.Square
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquareRoot.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquareRoot.html new file mode 100644 index 0000000..2937ad2 --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquareRoot.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.SquareRoot + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.SquareRoot

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.SquareRoot
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquaredMultiplication.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquaredMultiplication.html new file mode 100644 index 0000000..143e69e --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SquaredMultiplication.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.SquaredMultiplication + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.SquaredMultiplication

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.SquaredMultiplication
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SymmetricSubtraction.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SymmetricSubtraction.html new file mode 100644 index 0000000..6405a7f --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.SymmetricSubtraction.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions.SymmetricSubtraction + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions.SymmetricSubtraction

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions.SymmetricSubtraction
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.html b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.html new file mode 100644 index 0000000..8e0477e --- /dev/null +++ b/doc/jcgp/backend/function/class-use/TravellingSalesmanFunctions.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.function.TravellingSalesmanFunctions + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.TravellingSalesmanFunctions

+
+
No usage of jcgp.backend.function.TravellingSalesmanFunctions
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/class-use/UnsignedInteger.html b/doc/jcgp/backend/function/class-use/UnsignedInteger.html new file mode 100644 index 0000000..6dde36f --- /dev/null +++ b/doc/jcgp/backend/function/class-use/UnsignedInteger.html @@ -0,0 +1,263 @@ + + + + + +Uses of Class jcgp.backend.function.UnsignedInteger + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.function.UnsignedInteger

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/package-frame.html b/doc/jcgp/backend/function/package-frame.html new file mode 100644 index 0000000..76cc057 --- /dev/null +++ b/doc/jcgp/backend/function/package-frame.html @@ -0,0 +1,78 @@ + + + + + +jcgp.backend.function + + + + + +

jcgp.backend.function

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/function/package-summary.html b/doc/jcgp/backend/function/package-summary.html new file mode 100644 index 0000000..9742940 --- /dev/null +++ b/doc/jcgp/backend/function/package-summary.html @@ -0,0 +1,502 @@ + + + + + +jcgp.backend.function + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.function

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/package-tree.html b/doc/jcgp/backend/function/package-tree.html new file mode 100644 index 0000000..52fc595 --- /dev/null +++ b/doc/jcgp/backend/function/package-tree.html @@ -0,0 +1,201 @@ + + + + + +jcgp.backend.function Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.function

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/function/package-use.html b/doc/jcgp/backend/function/package-use.html new file mode 100644 index 0000000..6622f40 --- /dev/null +++ b/doc/jcgp/backend/function/package-use.html @@ -0,0 +1,289 @@ + + + + + +Uses of Package jcgp.backend.function + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.function

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/Module.html b/doc/jcgp/backend/modules/Module.html new file mode 100644 index 0000000..b194964 --- /dev/null +++ b/doc/jcgp/backend/modules/Module.html @@ -0,0 +1,288 @@ + + + + + +Module + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules
+

Class Module

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    EvolutionaryStrategy, Mutator, Problem
    +
    +
    +
    +
    public abstract class Module
    +extends java.lang.Object
    +
    This class defines the expected behaviour of a module. Generally, modules + are entities which contain parameters; these can be retrieved using + getLocalParameters(). GUIs should make use of this getter + to display visual parameter controls to users. Subclasses don't have direct + access to the list; instead they must use registerParameter() (ideally + in the constructor) to make sure the parameters are returned. +
    + In addition, implementations of Module should specify a module name + in their constructor using setName(). If a name is not provided, + the simple name of the class will be used. +
    + All modules, by definition, contain a reference to the experiment's resources, which + must be passed at construction. The resources should be accessed with getResources().
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Parameter
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.ArrayList<Parameter<?>>getLocalParameters() +
      This method is used by the GUI in order to build visual + representations of all parameters used by the module.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLocalParameters

        +
        public final java.util.ArrayList<Parameter<?>> getLocalParameters()
        +
        This method is used by the GUI in order to build visual + representations of all parameters used by the module. + Therefore, any parameters returned here will be displayed + visually.
        +
        +
        Returns:
        +
        a list of generic parameters exposed by the module.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/class-use/Module.html b/doc/jcgp/backend/modules/class-use/Module.html new file mode 100644 index 0000000..6ab68d0 --- /dev/null +++ b/doc/jcgp/backend/modules/class-use/Module.html @@ -0,0 +1,292 @@ + + + + + +Uses of Class jcgp.backend.modules.Module + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.Module

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html b/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html new file mode 100644 index 0000000..d18e01f --- /dev/null +++ b/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html @@ -0,0 +1,290 @@ + + + + + +EvolutionaryStrategy + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.es
+

Class EvolutionaryStrategy

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    MuPlusLambda, TournamentSelection
    +
    +
    +
    +
    public abstract class EvolutionaryStrategy
    +extends Module
    +
    This class specifies the characteristics of an evolutionary strategy. The evolutionary + strategy's job is to generate the next population of solutions. In JCGP this is done by modifying + the provided population object rather than creating a new one. +

    + A typical implementation of EvolutionaryStratey iterates through the chromosomes + in the population and selects the individual(s) to be promoted. It then uses + mutator.mutate() to generically mutate the promoted individual(s). Parameter-dependent + strategies can be implemented by accessing the parameters via the resources + argument. +

    + Parameters may be specified to control the implemented strategy. Any parameters + registered with registerParameters() should be displayed by the user interface, + if it is being used. See Module for more information. +

    + It is advisable to use Resources.reportln() and Resources.report() + to print any relevant information. Note that reportln() and report() are affected + by the report interval base parameter. Use Resources.println() and + Resources.print() to print information regardless of the current generation. + See Resources for more information.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Module
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      abstract voidevolve(Population population, + Mutator mutator) +
      Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evolve

        +
        public abstract void evolve(Population population,
        +                            Mutator mutator)
        +
        Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
        +
        +
        Parameters:
        +
        population - the population to evolve.
        +
        mutator - the mutator with which to mutate the promoted individuals.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/MuPlusLambda.html b/doc/jcgp/backend/modules/es/MuPlusLambda.html new file mode 100644 index 0000000..3ca75c9 --- /dev/null +++ b/doc/jcgp/backend/modules/es/MuPlusLambda.html @@ -0,0 +1,330 @@ + + + + + +MuPlusLambda + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.es
+

Class MuPlusLambda

+
+
+ +
+
    +
  • +
    +
    +
    public class MuPlusLambda
    +extends EvolutionaryStrategy
    +
    (μ + λ)-ES +

    + This strategy selects the μ fittest chromosomes from the population. + The promoted individuals are copied into the new population and mutated + λ times, but also carried forward unchanged. The total population size + is μ + λ. +

    + Two integer parameters are used to control this strategy: parents + and offspring. They are constrained in that they must always add up to + the population size, and must never be smaller than 1. +
    + One additional parameter, report, controls whether a detailed log of the + algorithm's operation is to be printed or not. Reports respect the report + interval base parameter.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    EvolutionaryStrategy
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      MuPlusLambda(Resources resources) +
      Creates a new instance of MuPlusLambda.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidevolve(Population population, + Mutator mutator) +
      Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MuPlusLambda

        +
        public MuPlusLambda(Resources resources)
        +
        Creates a new instance of MuPlusLambda.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evolve

        +
        public void evolve(Population population,
        +                   Mutator mutator)
        +
        Description copied from class: EvolutionaryStrategy
        +
        Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
        +
        +
        Specified by:
        +
        evolve in class EvolutionaryStrategy
        +
        Parameters:
        +
        population - the population to evolve.
        +
        mutator - the mutator with which to mutate the promoted individuals.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/TournamentSelection.html b/doc/jcgp/backend/modules/es/TournamentSelection.html new file mode 100644 index 0000000..59e63cd --- /dev/null +++ b/doc/jcgp/backend/modules/es/TournamentSelection.html @@ -0,0 +1,333 @@ + + + + + +TournamentSelection + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.es
+

Class TournamentSelection

+
+
+ +
+
    +
  • +
    +
    +
    public class TournamentSelection
    +extends EvolutionaryStrategy
    +
    Tournament selection +

    + This strategy generates a new population by selecting a specified number + of chromosomes from the original population and selecting the fittest out + of the isolated subset (the tournament). The selected individual is mutated + using the specified mutator. This process is repeated until the new population + is complete. +

    + One integer parameter is used to control this strategy: tournament + size. This must always be greater than 0 and smaller than or equal to the + population size. Setting it to equal population size results in the same + chromosome being selected for every tournament, and setting it to 1 leads + to an effectively random search. +
    + One additional parameter, report, controls whether a detailed log of the + algorithm's operation is to be printed or not. Reports respect the report + interval base parameter.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    EvolutionaryStrategy
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TournamentSelection(Resources resources) +
      Creates a new instance of TournamentSelection.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidevolve(Population population, + Mutator mutator) +
      Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TournamentSelection

        +
        public TournamentSelection(Resources resources)
        +
        Creates a new instance of TournamentSelection.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evolve

        +
        public void evolve(Population population,
        +                   Mutator mutator)
        +
        Description copied from class: EvolutionaryStrategy
        +
        Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
        +
        +
        Specified by:
        +
        evolve in class EvolutionaryStrategy
        +
        Parameters:
        +
        population - the population to evolve.
        +
        mutator - the mutator with which to mutate the promoted individuals.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/class-use/EvolutionaryStrategy.html b/doc/jcgp/backend/modules/es/class-use/EvolutionaryStrategy.html new file mode 100644 index 0000000..ed70f1e --- /dev/null +++ b/doc/jcgp/backend/modules/es/class-use/EvolutionaryStrategy.html @@ -0,0 +1,213 @@ + + + + + +Uses of Class jcgp.backend.modules.es.EvolutionaryStrategy + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.es.EvolutionaryStrategy

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/class-use/MuPlusLambda.html b/doc/jcgp/backend/modules/es/class-use/MuPlusLambda.html new file mode 100644 index 0000000..7b38f2a --- /dev/null +++ b/doc/jcgp/backend/modules/es/class-use/MuPlusLambda.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.es.MuPlusLambda + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.es.MuPlusLambda

+
+
No usage of jcgp.backend.modules.es.MuPlusLambda
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/class-use/TournamentSelection.html b/doc/jcgp/backend/modules/es/class-use/TournamentSelection.html new file mode 100644 index 0000000..3de5cbb --- /dev/null +++ b/doc/jcgp/backend/modules/es/class-use/TournamentSelection.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.es.TournamentSelection + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.es.TournamentSelection

+
+
No usage of jcgp.backend.modules.es.TournamentSelection
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/package-frame.html b/doc/jcgp/backend/modules/es/package-frame.html new file mode 100644 index 0000000..2341ef5 --- /dev/null +++ b/doc/jcgp/backend/modules/es/package-frame.html @@ -0,0 +1,22 @@ + + + + + +jcgp.backend.modules.es + + + + + +

jcgp.backend.modules.es

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/modules/es/package-summary.html b/doc/jcgp/backend/modules/es/package-summary.html new file mode 100644 index 0000000..bb760c8 --- /dev/null +++ b/doc/jcgp/backend/modules/es/package-summary.html @@ -0,0 +1,162 @@ + + + + + +jcgp.backend.modules.es + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.modules.es

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/package-tree.html b/doc/jcgp/backend/modules/es/package-tree.html new file mode 100644 index 0000000..5ebca47 --- /dev/null +++ b/doc/jcgp/backend/modules/es/package-tree.html @@ -0,0 +1,146 @@ + + + + + +jcgp.backend.modules.es Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.modules.es

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/es/package-use.html b/doc/jcgp/backend/modules/es/package-use.html new file mode 100644 index 0000000..a9a2c2d --- /dev/null +++ b/doc/jcgp/backend/modules/es/package-use.html @@ -0,0 +1,180 @@ + + + + + +Uses of Package jcgp.backend.modules.es + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.modules.es

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/FixedPointMutator.html b/doc/jcgp/backend/modules/mutator/FixedPointMutator.html new file mode 100644 index 0000000..3614df1 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/FixedPointMutator.html @@ -0,0 +1,284 @@ + + + + + +FixedPointMutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class FixedPointMutator

+
+
+ +
+
    +
  • +
    +
    +
    public class FixedPointMutator
    +extends PointMutator
    +
    Fixed point mutator +

    + This operator uses the point mutator + algorithm to mutate a user-defined fixed + number of genes.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    PointMutator
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FixedPointMutator(Resources resources) +
      Creates a new instance of FixedPointMutator.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FixedPointMutator

        +
        public FixedPointMutator(Resources resources)
        +
        Creates a new instance of FixedPointMutator.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/Mutator.html b/doc/jcgp/backend/modules/mutator/Mutator.html new file mode 100644 index 0000000..13aafdb --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/Mutator.html @@ -0,0 +1,281 @@ + + + + + +Mutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class Mutator

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    PointMutator, ProbabilisticMutator
    +
    +
    +
    +
    public abstract class Mutator
    +extends Module
    +
    This class specifies the basic characteristics of a mutation operator. Its job is + to modify the connections and functions of the chromosome according to the operator's + parameters. +

    + Parameters may be specified to control the implemented mutation. Any parameters + registered with registerParameters() should be displayed by the user interface, + if it is being used. See Module for more information. +

    + It is advisable to use Resources.reportln() and Resources.report() + to print any relevant information. Note that reportln() and report() are affected + by the report interval base parameter. Use Resources.println() and + Resources.print() to print information regardless of the current generation. + See Resources for more information.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Module
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      abstract voidmutate(Chromosome chromosome) +
      Applies mutations to the specified chromosome according + to the parameter values.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mutate

        +
        public abstract void mutate(Chromosome chromosome)
        +
        Applies mutations to the specified chromosome according + to the parameter values.
        +
        +
        Parameters:
        +
        chromosome - the chromosome to mutate.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/PercentPointMutator.html b/doc/jcgp/backend/modules/mutator/PercentPointMutator.html new file mode 100644 index 0000000..968640e --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/PercentPointMutator.html @@ -0,0 +1,285 @@ + + + + + +PercentPointMutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class PercentPointMutator

+
+
+ +
+
    +
  • +
    +
    +
    public class PercentPointMutator
    +extends PointMutator
    +
    Percent point mutator +

    + This operator calculates how many genes to mutate based on the mutation rate + parameter. The total number of genes is computed from the number of nodes, + the arity and the number of outputs. It then uses the point mutation + algorithm to perform the required number of mutations.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    PointMutator
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PercentPointMutator(Resources resources) +
      Creates a new instance of PercentPointMutator.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PercentPointMutator

        +
        public PercentPointMutator(Resources resources)
        +
        Creates a new instance of PercentPointMutator.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/PointMutator.html b/doc/jcgp/backend/modules/mutator/PointMutator.html new file mode 100644 index 0000000..691eece --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/PointMutator.html @@ -0,0 +1,281 @@ + + + + + +PointMutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class PointMutator

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    FixedPointMutator, PercentPointMutator
    +
    +
    +
    +
    public abstract class PointMutator
    +extends Mutator
    +
    Point mutator +

    + In point mutation, a number of random genes + is picked and mutated until all required + mutations have been performed. The actual number + of genes to be mutated can be defined in any + arbitrary way.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidmutate(Chromosome chromosome) +
      Applies mutations to the specified chromosome according + to the parameter values.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mutate

        +
        public void mutate(Chromosome chromosome)
        +
        Description copied from class: Mutator
        +
        Applies mutations to the specified chromosome according + to the parameter values.
        +
        +
        Specified by:
        +
        mutate in class Mutator
        +
        Parameters:
        +
        chromosome - the chromosome to mutate.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html b/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html new file mode 100644 index 0000000..c4e22ae --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html @@ -0,0 +1,319 @@ + + + + + +ProbabilisticMutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class ProbabilisticMutator

+
+
+ +
+
    +
  • +
    +
    +
    public class ProbabilisticMutator
    +extends Mutator
    +
    Probabilistic mutator +

    + This operator iterates through every mutable gene in the chromosome and + decides whether to mutate each of them individually. + The decision is made based on the difference between the mutation probability + and a randomly generated double between 0 and 100.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Mutator
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ProbabilisticMutator(Resources resources) +
      Creates a new instance of ProbabilisticMutator.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidmutate(Chromosome chromosome) +
      Applies mutations to the specified chromosome according + to the parameter values.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProbabilisticMutator

        +
        public ProbabilisticMutator(Resources resources)
        +
        Creates a new instance of ProbabilisticMutator.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mutate

        +
        public void mutate(Chromosome chromosome)
        +
        Description copied from class: Mutator
        +
        Applies mutations to the specified chromosome according + to the parameter values.
        +
        +
        Specified by:
        +
        mutate in class Mutator
        +
        Parameters:
        +
        chromosome - the chromosome to mutate.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/class-use/FixedPointMutator.html b/doc/jcgp/backend/modules/mutator/class-use/FixedPointMutator.html new file mode 100644 index 0000000..695222a --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/class-use/FixedPointMutator.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.mutator.FixedPointMutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.mutator.FixedPointMutator

+
+
No usage of jcgp.backend.modules.mutator.FixedPointMutator
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/class-use/Mutator.html b/doc/jcgp/backend/modules/mutator/class-use/Mutator.html new file mode 100644 index 0000000..3107012 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/class-use/Mutator.html @@ -0,0 +1,269 @@ + + + + + +Uses of Class jcgp.backend.modules.mutator.Mutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.mutator.Mutator

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/class-use/PercentPointMutator.html b/doc/jcgp/backend/modules/mutator/class-use/PercentPointMutator.html new file mode 100644 index 0000000..f605d5a --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/class-use/PercentPointMutator.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.mutator.PercentPointMutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.mutator.PercentPointMutator

+
+
No usage of jcgp.backend.modules.mutator.PercentPointMutator
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/class-use/PointMutator.html b/doc/jcgp/backend/modules/mutator/class-use/PointMutator.html new file mode 100644 index 0000000..feeb525 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/class-use/PointMutator.html @@ -0,0 +1,179 @@ + + + + + +Uses of Class jcgp.backend.modules.mutator.PointMutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.mutator.PointMutator

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/class-use/ProbabilisticMutator.html b/doc/jcgp/backend/modules/mutator/class-use/ProbabilisticMutator.html new file mode 100644 index 0000000..0186442 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/class-use/ProbabilisticMutator.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.mutator.ProbabilisticMutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.mutator.ProbabilisticMutator

+
+
No usage of jcgp.backend.modules.mutator.ProbabilisticMutator
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/package-frame.html b/doc/jcgp/backend/modules/mutator/package-frame.html new file mode 100644 index 0000000..da1968b --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/package-frame.html @@ -0,0 +1,24 @@ + + + + + +jcgp.backend.modules.mutator + + + + + +

jcgp.backend.modules.mutator

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/modules/mutator/package-summary.html b/doc/jcgp/backend/modules/mutator/package-summary.html new file mode 100644 index 0000000..a5bfb94 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/package-summary.html @@ -0,0 +1,182 @@ + + + + + +jcgp.backend.modules.mutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.modules.mutator

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/package-tree.html b/doc/jcgp/backend/modules/mutator/package-tree.html new file mode 100644 index 0000000..a83ce31 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/package-tree.html @@ -0,0 +1,151 @@ + + + + + +jcgp.backend.modules.mutator Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.modules.mutator

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/mutator/package-use.html b/doc/jcgp/backend/modules/mutator/package-use.html new file mode 100644 index 0000000..d0f85c6 --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/package-use.html @@ -0,0 +1,210 @@ + + + + + +Uses of Package jcgp.backend.modules.mutator + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.modules.mutator

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/package-frame.html b/doc/jcgp/backend/modules/package-frame.html new file mode 100644 index 0000000..876d8f2 --- /dev/null +++ b/doc/jcgp/backend/modules/package-frame.html @@ -0,0 +1,20 @@ + + + + + +jcgp.backend.modules + + + + + +

jcgp.backend.modules

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/modules/package-summary.html b/doc/jcgp/backend/modules/package-summary.html new file mode 100644 index 0000000..cd347f1 --- /dev/null +++ b/doc/jcgp/backend/modules/package-summary.html @@ -0,0 +1,144 @@ + + + + + +jcgp.backend.modules + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.modules

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/package-tree.html b/doc/jcgp/backend/modules/package-tree.html new file mode 100644 index 0000000..3be8d8f --- /dev/null +++ b/doc/jcgp/backend/modules/package-tree.html @@ -0,0 +1,137 @@ + + + + + +jcgp.backend.modules Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.modules

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/package-use.html b/doc/jcgp/backend/modules/package-use.html new file mode 100644 index 0000000..8c933e0 --- /dev/null +++ b/doc/jcgp/backend/modules/package-use.html @@ -0,0 +1,201 @@ + + + + + +Uses of Package jcgp.backend.modules + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.modules

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/BestFitness.html b/doc/jcgp/backend/modules/problem/BestFitness.html new file mode 100644 index 0000000..9578099 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/BestFitness.html @@ -0,0 +1,341 @@ + + + + + +BestFitness + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Enum BestFitness

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<BestFitness>
    +
    +
    +
    +
    public enum BestFitness
    +extends java.lang.Enum<BestFitness>
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      HIGH 
      LOW 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static BestFitnessvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static BestFitness[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static BestFitness[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (BestFitness c : BestFitness.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static BestFitness valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html b/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html new file mode 100644 index 0000000..d9d3011 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html @@ -0,0 +1,455 @@ + + + + + +DigitalCircuitProblem + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class DigitalCircuitProblem

+
+
+ +
+
    +
  • +
    +
    +
    public class DigitalCircuitProblem
    +extends TestCaseProblem<UnsignedInteger>
    +
    Digital circuit problem +

    + Using this problem type, digital logic circuits can be evolved. + parseData() must be used to load the desired circuit + truth table in the standard CGP .plu format.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    DigitalCircuitFunctions
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DigitalCircuitProblem

        +
        public DigitalCircuitProblem(Resources resources)
        +
        Construct a new instance of DigitalCircuitProblem.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evaluate

        +
        public void evaluate(Population population,
        +                     Resources resources)
        +
        Description copied from class: Problem
        +
        The most important method of the problem type. This is called once + per generation, when the new population has been generated. +

        + The basic functionality of this method is to loop through all chromosomes + in the population and decode them according to the problem type. The + fitness of each chromosome is then calculated using the problem data + or otherwise (subjective problem types such as art generation might + leave fitness evaluations up to the user) and assigned to the appropriate + chromosome. +

        + In addition, realisations of this method should update the value of + bestFitness as appropriate, since the value of this parameter is displayed + if a GUI is in use.
        +
        +
        Specified by:
        +
        evaluate in class Problem
        +
        Parameters:
        +
        population - the population to be evaluated.
        +
        resources - parameters and utilities for optional reference.
        +
        +
      • +
      + + + +
        +
      • +

        parseTestCase

        +
        public TestCaseProblem.TestCase<UnsignedInteger> parseTestCase(java.lang.String[] inputs,
        +                                                               java.lang.String[] outputs)
        +
        Description copied from class: TestCaseProblem
        +
        This method is used internally by addTestCase() in order + to appropriately parse strings into the right data type for the + test cases. Since the data type is problem-dependent, subclasses must + implement this method. This method must return a built TestCase + object from the arguments given.
        +
        +
        Parameters:
        +
        inputs - the inputs represented as strings.
        +
        outputs - the outputs represented as strings.
        +
        Returns:
        +
        the parsed test case.
        +
        +
      • +
      + + + +
        +
      • +

        perfectSolutionFound

        +
        public int perfectSolutionFound(Population population)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given population contains a perfect solution + to the problem. It is up to the problem to define what qualifies + a perfect solution, as some problems (subject ones such as music and + art evolution, for example) might not have perfect solutions at all.
        +
        +
        Specified by:
        +
        perfectSolutionFound in class Problem
        +
        Parameters:
        +
        population - the population to search through for a perfect chromosome.
        +
        Returns:
        +
        the perfect solution index, if one exits, -1 if no perfect solution was found.
        +
        +
      • +
      + + + +
        +
      • +

        hasImprovement

        +
        public int hasImprovement(Population population)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given population has a chromosome that is an improvement over + the current best chromosome. A typical implementation of this method + will simply compare chromosome fitness values, though the problem type + is free to implement this in any way.
        +
        +
        Specified by:
        +
        hasImprovement in class Problem
        +
        Parameters:
        +
        population - the population potentially containing a fitter chromosome.
        +
        Returns:
        +
        the index of the first chromosome in the population that is an improvement, -1 if none is found.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/Problem.html b/doc/jcgp/backend/modules/problem/Problem.html new file mode 100644 index 0000000..0d08b2a --- /dev/null +++ b/doc/jcgp/backend/modules/problem/Problem.html @@ -0,0 +1,508 @@ + + + + + +Problem + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class Problem

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    TestCaseProblem
    +
    +
    +
    +
    public abstract class Problem
    +extends Module
    +
    Defines the general behaviour of a CGP problem. The primary function of Problem + is to evaluate a population and assign a fitness value to each chromosome. +
    + Problems are free to define whether better fitness means a higher or lower fitness value. + In some problem types, it is more convenient to treat fitness 0 as the best possible value. + This can be done by changing the fitness orientation to BestFitness.HIGH or BestFitness.LOW as appropriate. + Fitness orientation is set to high by default. +

    + When extending this class, the constructor should call a few methods in order to + properly construct the problem type: setFunctionSet(), setFileExtension() and setFitnessOrientation(), + with the respective arguments. As with all subclasses of Module, setName() and + registerParameters() should be used where appropriate as well. +

    + It is advisable to use Resources.reportln() and Resources.report() + to print any relevant information. Note that reportln() and report() are affected + by the report interval base parameter. Use Resources.println() and + Resources.print() to print information regardless of the current generation. + See Resources for more information.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Module
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Problem

        +
        public Problem(Resources resources)
        +
        Initialises the two problem-wide parameters, maxFitness and bestFitness.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evaluate

        +
        public abstract void evaluate(Population population,
        +                              Resources resources)
        +
        The most important method of the problem type. This is called once + per generation, when the new population has been generated. +

        + The basic functionality of this method is to loop through all chromosomes + in the population and decode them according to the problem type. The + fitness of each chromosome is then calculated using the problem data + or otherwise (subjective problem types such as art generation might + leave fitness evaluations up to the user) and assigned to the appropriate + chromosome. +

        + In addition, realisations of this method should update the value of + bestFitness as appropriate, since the value of this parameter is displayed + if a GUI is in use.
        +
        +
        Parameters:
        +
        population - the population to be evaluated.
        +
        resources - parameters and utilities for optional reference.
        +
        +
      • +
      + + + +
        +
      • +

        perfectSolutionFound

        +
        public abstract int perfectSolutionFound(Population population)
        +
        Used to assert whether a given population contains a perfect solution + to the problem. It is up to the problem to define what qualifies + a perfect solution, as some problems (subject ones such as music and + art evolution, for example) might not have perfect solutions at all.
        +
        +
        Parameters:
        +
        population - the population to search through for a perfect chromosome.
        +
        Returns:
        +
        the perfect solution index, if one exits, -1 if no perfect solution was found.
        +
        +
      • +
      + + + +
        +
      • +

        hasImprovement

        +
        public abstract int hasImprovement(Population population)
        +
        Used to assert whether a given population has a chromosome that is an improvement over + the current best chromosome. A typical implementation of this method + will simply compare chromosome fitness values, though the problem type + is free to implement this in any way.
        +
        +
        Parameters:
        +
        population - the population potentially containing a fitter chromosome.
        +
        Returns:
        +
        the index of the first chromosome in the population that is an improvement, -1 if none is found.
        +
        +
      • +
      + + + +
        +
      • +

        parseProblemData

        +
        public abstract void parseProblemData(java.io.File file,
        +                                      ModifiableResources resources)
        +
        Parses the specified file and uses the parsed data to + set up the problem type instance appropriately. Any necessary + resource changes can be performed using the provided ModifiableResources + instance. +

        + In addition, realisations of this method should update the value of + maxFitness where appropriate, as this may be displayed to the user + if a GUI is in use.
        +
        +
        Parameters:
        +
        file - the data file to parse.
        +
        resources - a modifiable reference to the experiment's resources.
        +
        +
      • +
      + + + +
        +
      • +

        getFunctionSet

        +
        public FunctionSet getFunctionSet()
        +
        +
        Returns:
        +
        the FunctionSet object used by this problem type.
        +
        +
      • +
      + + + +
        +
      • +

        getFileExtension

        +
        public java.lang.String getFileExtension()
        +
        +
        Returns:
        +
        the file extension accepted by this problem type for problem data files.
        +
        +
      • +
      + + + +
        +
      • +

        getFitnessOrientation

        +
        public BestFitness getFitnessOrientation()
        +
        +
        Returns:
        +
        the fitness orientation of this particular problem.
        +
        +
      • +
      + + + +
        +
      • +

        getBestFitness

        +
        public double getBestFitness()
        +
        +
        Returns:
        +
        the current best fitness, in other words, the fitness + value of the fittest chromosome in the current generation.
        +
        +
      • +
      + + + +
        +
      • +

        reset

        +
        public void reset()
        +
        Resets the bestFitness parameter.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/SymbolicRegressionProblem.html b/doc/jcgp/backend/modules/problem/SymbolicRegressionProblem.html new file mode 100644 index 0000000..1ab3746 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/SymbolicRegressionProblem.html @@ -0,0 +1,468 @@ + + + + + +SymbolicRegressionProblem + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class SymbolicRegressionProblem

+
+
+ +
+
    +
  • +
    +
    +
    public class SymbolicRegressionProblem
    +extends TestCaseProblem<java.lang.Double>
    +
    Symbolic regression functions +

    + Using this problem type, regression problems can be solved. + parseData() must be used to load the desired function + data in the standard CGP .dat format. +

    + This problem uses quite a few parameters: +
      +
    • Error threshold: the maximum difference allowed between an + evolved output and the equivalent output from the problem data. + Outputs within the error threshold will be considered correct. + This is only used if hits is enabled.
    • +
    • Perfection threshold: if the fitness is calculated without + using the hits method, it is a decimal value. A solution is + considered perfect when the difference between its fitness and + the maximum possible fitness is within the perfection threshold.
    • +
    • Hits-based fitness: increment the fitness by 1 whenever the + chromosome output is within the error threshold.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    SymbolicRegressionFunctions
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SymbolicRegressionProblem

        +
        public SymbolicRegressionProblem(Resources resources)
        +
        Creates a new instance of SymbolicRegressionProblem.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evaluate

        +
        public void evaluate(Population population,
        +                     Resources resources)
        +
        Description copied from class: Problem
        +
        The most important method of the problem type. This is called once + per generation, when the new population has been generated. +

        + The basic functionality of this method is to loop through all chromosomes + in the population and decode them according to the problem type. The + fitness of each chromosome is then calculated using the problem data + or otherwise (subjective problem types such as art generation might + leave fitness evaluations up to the user) and assigned to the appropriate + chromosome. +

        + In addition, realisations of this method should update the value of + bestFitness as appropriate, since the value of this parameter is displayed + if a GUI is in use.
        +
        +
        Specified by:
        +
        evaluate in class Problem
        +
        Parameters:
        +
        population - the population to be evaluated.
        +
        resources - parameters and utilities for optional reference.
        +
        +
      • +
      + + + +
        +
      • +

        parseTestCase

        +
        public TestCaseProblem.TestCase<java.lang.Double> parseTestCase(java.lang.String[] inputs,
        +                                                                java.lang.String[] outputs)
        +
        Description copied from class: TestCaseProblem
        +
        This method is used internally by addTestCase() in order + to appropriately parse strings into the right data type for the + test cases. Since the data type is problem-dependent, subclasses must + implement this method. This method must return a built TestCase + object from the arguments given.
        +
        +
        Parameters:
        +
        inputs - the inputs represented as strings.
        +
        outputs - the outputs represented as strings.
        +
        Returns:
        +
        the parsed test case.
        +
        +
      • +
      + + + +
        +
      • +

        perfectSolutionFound

        +
        public int perfectSolutionFound(Population population)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given population contains a perfect solution + to the problem. It is up to the problem to define what qualifies + a perfect solution, as some problems (subject ones such as music and + art evolution, for example) might not have perfect solutions at all.
        +
        +
        Specified by:
        +
        perfectSolutionFound in class Problem
        +
        Parameters:
        +
        population - the population to search through for a perfect chromosome.
        +
        Returns:
        +
        the perfect solution index, if one exits, -1 if no perfect solution was found.
        +
        +
      • +
      + + + +
        +
      • +

        hasImprovement

        +
        public int hasImprovement(Population population)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given population has a chromosome that is an improvement over + the current best chromosome. A typical implementation of this method + will simply compare chromosome fitness values, though the problem type + is free to implement this in any way.
        +
        +
        Specified by:
        +
        hasImprovement in class Problem
        +
        Parameters:
        +
        population - the population potentially containing a fitter chromosome.
        +
        Returns:
        +
        the index of the first chromosome in the population that is an improvement, -1 if none is found.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html b/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html new file mode 100644 index 0000000..5373cf2 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html @@ -0,0 +1,358 @@ + + + + + +TestCaseProblem.TestCase + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class TestCaseProblem.TestCase<U>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    U - the data type of the test case.
    +
    +
    +
    Enclosing class:
    +
    TestCaseProblem<T>
    +
    +
    +
    +
    public static class TestCaseProblem.TestCase<U>
    +extends java.lang.Object
    +
    Basic data type for encapsulating test cases, it simply + contains arrays of inputs and outputs and associated getters.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TestCase(U[] inputs, + U[] outputs) +
      Creates a new test case, inputs and outputs + must be specified upon instantiation.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        TestCase

        +
        public TestCase(U[] inputs,
        +                U[] outputs)
        +
        Creates a new test case, inputs and outputs + must be specified upon instantiation.
        +
        +
        Parameters:
        +
        inputs - the array of inputs.
        +
        outputs - the array of outputs.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInput

        +
        public U getInput(int index)
        +
        +
        Parameters:
        +
        index - the index to return.
        +
        Returns:
        +
        the indexed input.
        +
        +
      • +
      + + + +
        +
      • +

        getOutput

        +
        public U getOutput(int index)
        +
        +
        Parameters:
        +
        index - the index to return.
        +
        Returns:
        +
        the indexed output.
        +
        +
      • +
      + + + +
        +
      • +

        getInputs

        +
        public U[] getInputs()
        +
        +
        Returns:
        +
        the complete array of inputs.
        +
        +
      • +
      + + + +
        +
      • +

        getOutputs

        +
        public U[] getOutputs()
        +
        +
        Returns:
        +
        the complete array of outputs.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/TestCaseProblem.html b/doc/jcgp/backend/modules/problem/TestCaseProblem.html new file mode 100644 index 0000000..663bc0a --- /dev/null +++ b/doc/jcgp/backend/modules/problem/TestCaseProblem.html @@ -0,0 +1,427 @@ + + + + + +TestCaseProblem + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class TestCaseProblem<T>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    T - the data type to be used by the TestCaseProblem.
    +
    +
    +
    Direct Known Subclasses:
    +
    DigitalCircuitProblem, SymbolicRegressionProblem
    +
    +
    +
    +
    public abstract class TestCaseProblem<T>
    +extends Problem
    +
    Abstract model for a problem that uses test cases. A test case + problem is any problem that compares the chromosome output to + an expected output taken from a table of input-output mappings. +

    + This class defines a basic data type for storing test cases, + TestCase, and provides core functionality to add and manipulate + test cases in the problem. A subclass of TestCaseProblem + must simply override parseTestCase() to convert parsed + problem data strings into the required data type (T).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Problem
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TestCaseProblem

        +
        public TestCaseProblem(Resources resources)
        +
        Creates a new TestCaseProblem object.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTestCases

        +
        public javafx.collections.ObservableList<TestCaseProblem.TestCase<T>> getTestCases()
        +
        +
        Returns:
        +
        a list containing the test cases.
        +
        +
      • +
      + + + +
        +
      • +

        addTestCase

        +
        public final void addTestCase(java.lang.String[] inputs,
        +                              java.lang.String[] outputs)
        +
        Adds test cases to the problem instance as they get parsed from a + problem data file. This template method uses parseTestCase, which + must be implemented by subclasses.
        +
        +
        Parameters:
        +
        inputs - the inputs represented as strings.
        +
        outputs - the outputs represented as strings.
        +
        +
      • +
      + + + +
        +
      • +

        clearTestCases

        +
        public void clearTestCases()
        +
        Remove all test cases.
        +
      • +
      + + + +
        +
      • +

        parseProblemData

        +
        public void parseProblemData(java.io.File file,
        +                             ModifiableResources resources)
        +
        Description copied from class: Problem
        +
        Parses the specified file and uses the parsed data to + set up the problem type instance appropriately. Any necessary + resource changes can be performed using the provided ModifiableResources + instance. +

        + In addition, realisations of this method should update the value of + maxFitness where appropriate, as this may be displayed to the user + if a GUI is in use.
        +
        +
        Specified by:
        +
        parseProblemData in class Problem
        +
        Parameters:
        +
        file - the data file to parse.
        +
        resources - a modifiable reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/TravellingSalesmanProblem.html b/doc/jcgp/backend/modules/problem/TravellingSalesmanProblem.html new file mode 100644 index 0000000..4a2d0c9 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/TravellingSalesmanProblem.html @@ -0,0 +1,433 @@ + + + + + +TravellingSalesmanProblem + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class TravellingSalesmanProblem

+
+
+ +
+
    +
  • +
    +
    +
    public class TravellingSalesmanProblem
    +extends Problem
    +
    Travelling salesman problem +

    + Using this problem type, travelling salesman tours can be evolved. + parseData() must be used to load the desired city + coordinates in the standard .tsp format.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    TravellingSalesmanFunctions
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TravellingSalesmanProblem

        +
        public TravellingSalesmanProblem(Resources resources)
        +
        Construct a new instance of TravellingSalesmanProblem.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evaluate

        +
        public void evaluate(Population population,
        +                     Resources resources)
        +
        Description copied from class: Problem
        +
        The most important method of the problem type. This is called once + per generation, when the new population has been generated. +

        + The basic functionality of this method is to loop through all chromosomes + in the population and decode them according to the problem type. The + fitness of each chromosome is then calculated using the problem data + or otherwise (subjective problem types such as art generation might + leave fitness evaluations up to the user) and assigned to the appropriate + chromosome. +

        + In addition, realisations of this method should update the value of + bestFitness as appropriate, since the value of this parameter is displayed + if a GUI is in use.
        +
        +
        Specified by:
        +
        evaluate in class Problem
        +
        Parameters:
        +
        population - the population to be evaluated.
        +
        resources - parameters and utilities for optional reference.
        +
        +
      • +
      + + + +
        +
      • +

        isPerfectSolution

        +
        public boolean isPerfectSolution(Chromosome fittest)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given chromosome is a perfect solution + to the problem. It is up to the problem to define what qualifies + a perfect solution, as some problems (subject ones such as music and + art evolution, for example) might not have perfect solutions at all. +

        + Note that if this method returns true, the experiment will move on + to the next run, or finish if no more runs are left.
        +
        +
        Specified by:
        +
        isPerfectSolution in class Problem
        +
        Parameters:
        +
        fittest - the potentially perfect chromosome.
        +
        Returns:
        +
        true if the argument is a perfect solution.
        +
        +
      • +
      + + + +
        +
      • +

        parseProblemData

        +
        public void parseProblemData(java.io.File file,
        +                             ModifiableResources resources)
        +
        Description copied from class: Problem
        +
        Parses the specified file and uses the parsed data to + set up the problem type instance appropriately. Any necessary + resource changes can be performed using the provided ModifiableResources + instance. +

        + In addition, realisations of this method should update the value of + maxFitness where appropriate, as this may be displayed to the user + if a GUI is in use.
        +
        +
        Specified by:
        +
        parseProblemData in class Problem
        +
        Parameters:
        +
        file - the data file to parse.
        +
        resources - a modifiable reference to the experiment's resources.
        +
        +
      • +
      + + + +
        +
      • +

        isImprovement

        +
        public boolean isImprovement(Chromosome fittest)
        +
        Description copied from class: Problem
        +
        Used to assert whether a given chromosome is an improvement over + the current best chromosome. A typical implementation of this method + will simply compare chromosome fitness values, though the problem type + is free to implement this in any way.
        +
        +
        Specified by:
        +
        isImprovement in class Problem
        +
        Parameters:
        +
        fittest - the potentially fitter chromosome.
        +
        Returns:
        +
        true if the argument is fitter than the currently fittest chromosome.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/BestFitness.html b/doc/jcgp/backend/modules/problem/class-use/BestFitness.html new file mode 100644 index 0000000..3e1aec5 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/BestFitness.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.BestFitness + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.BestFitness

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/DigitalCircuitProblem.html b/doc/jcgp/backend/modules/problem/class-use/DigitalCircuitProblem.html new file mode 100644 index 0000000..0a41224 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/DigitalCircuitProblem.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.DigitalCircuitProblem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.DigitalCircuitProblem

+
+
No usage of jcgp.backend.modules.problem.DigitalCircuitProblem
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/Problem.html b/doc/jcgp/backend/modules/problem/class-use/Problem.html new file mode 100644 index 0000000..df1956b --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/Problem.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.Problem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.Problem

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/SymbolicRegressionProblem.html b/doc/jcgp/backend/modules/problem/class-use/SymbolicRegressionProblem.html new file mode 100644 index 0000000..6347b53 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/SymbolicRegressionProblem.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.SymbolicRegressionProblem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.SymbolicRegressionProblem

+
+
No usage of jcgp.backend.modules.problem.SymbolicRegressionProblem
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.TestCase.html b/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.TestCase.html new file mode 100644 index 0000000..51bc5c0 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.TestCase.html @@ -0,0 +1,249 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.TestCaseProblem.TestCase + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.TestCaseProblem.TestCase

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.html b/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.html new file mode 100644 index 0000000..2924adc --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/TestCaseProblem.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.TestCaseProblem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.TestCaseProblem

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/class-use/TravellingSalesmanProblem.html b/doc/jcgp/backend/modules/problem/class-use/TravellingSalesmanProblem.html new file mode 100644 index 0000000..e8d6a27 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/class-use/TravellingSalesmanProblem.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.modules.problem.TravellingSalesmanProblem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.modules.problem.TravellingSalesmanProblem

+
+
No usage of jcgp.backend.modules.problem.TravellingSalesmanProblem
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/package-frame.html b/doc/jcgp/backend/modules/problem/package-frame.html new file mode 100644 index 0000000..7089f7c --- /dev/null +++ b/doc/jcgp/backend/modules/problem/package-frame.html @@ -0,0 +1,28 @@ + + + + + +jcgp.backend.modules.problem + + + + + +

jcgp.backend.modules.problem

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/doc/jcgp/backend/modules/problem/package-summary.html b/doc/jcgp/backend/modules/problem/package-summary.html new file mode 100644 index 0000000..381db7a --- /dev/null +++ b/doc/jcgp/backend/modules/problem/package-summary.html @@ -0,0 +1,188 @@ + + + + + +jcgp.backend.modules.problem + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.modules.problem

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/package-tree.html b/doc/jcgp/backend/modules/problem/package-tree.html new file mode 100644 index 0000000..1ff07b5 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/package-tree.html @@ -0,0 +1,163 @@ + + + + + +jcgp.backend.modules.problem Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.modules.problem

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/modules/problem/package-use.html b/doc/jcgp/backend/modules/problem/package-use.html new file mode 100644 index 0000000..32be276 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/package-use.html @@ -0,0 +1,305 @@ + + + + + +Uses of Package jcgp.backend.modules.problem + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.modules.problem

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/BooleanParameter.html b/doc/jcgp/backend/parameters/BooleanParameter.html new file mode 100644 index 0000000..06792b1 --- /dev/null +++ b/doc/jcgp/backend/parameters/BooleanParameter.html @@ -0,0 +1,394 @@ + + + + + +BooleanParameter + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters
+

Class BooleanParameter

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    BooleanMonitor
    +
    +
    +
    +
    public class BooleanParameter
    +extends Parameter<java.lang.Boolean>
    +
    Parameter subclass for the boolean type. Most of the + functionality is already implemented in Parameter, + leaving only construction and type definition to the + subclasses. +

    + This class contains three constructors, two of which are public. + One assumes the parameter is not critical and only takes a name + and initial value, while the other allows the critical flag + to be set as well. The third constructor is protected and allows + the monitor flag to be set as well, allowing subclasses of this class + to be used as monitors. See BooleanMonitor for an example + of this usage. +

    + The validate method is overridden here and left blank since not all + parameters actually require validation, but where validation is + required this method can be anonymously overridden on an instance-to-instance + basis.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      BooleanParameter(boolean value, + java.lang.String name) +
      Creates a new instance of this class, assuming the parameter + is not critical.
      +
      BooleanParameter(boolean value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Booleanget() 
      voidvalidate(java.lang.Boolean newValue) +
      This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BooleanParameter

        +
        public BooleanParameter(boolean value,
        +                        java.lang.String name)
        +
        Creates a new instance of this class, assuming the parameter + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        BooleanParameter

        +
        public BooleanParameter(boolean value,
        +                        java.lang.String name,
        +                        boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        critical - true if the parameter is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public java.lang.Boolean get()
        +
        +
        Overrides:
        +
        get in class Parameter<java.lang.Boolean>
        +
        Returns:
        +
        the parameter's current value.
        +
        +
      • +
      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Boolean newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Specified by:
        +
        validate in class Parameter<java.lang.Boolean>
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/DoubleParameter.html b/doc/jcgp/backend/parameters/DoubleParameter.html new file mode 100644 index 0000000..eb59a02 --- /dev/null +++ b/doc/jcgp/backend/parameters/DoubleParameter.html @@ -0,0 +1,394 @@ + + + + + +DoubleParameter + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters
+

Class DoubleParameter

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    DoubleMonitor
    +
    +
    +
    +
    public class DoubleParameter
    +extends Parameter<java.lang.Number>
    +
    Parameter subclass for the double type. Most of the + functionality is already implemented in Parameter, + leaving only construction and type definition to the + subclasses. +

    + This class contains three constructors, two of which are public. + One assumes the parameter is not critical and only takes a name + and initial value, while the other allows the critical flag + to be set as well. The third constructor is protected and allows + the monitor flag to be set as well, allowing subclasses of this class + to be used as monitors. See DoubleMonitor for an example + of this usage. +

    + The validate method is overridden here and left blank since not all + parameters actually require validation, but where validation is + required this method can be anonymously overridden on an instance-to-instance + basis.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      DoubleParameter(double value, + java.lang.String name) +
      Creates a new instance of this class, assuming the parameter + is not critical.
      +
      DoubleParameter(double value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Doubleget() 
      voidvalidate(java.lang.Number newValue) +
      This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DoubleParameter

        +
        public DoubleParameter(double value,
        +                       java.lang.String name)
        +
        Creates a new instance of this class, assuming the parameter + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        DoubleParameter

        +
        public DoubleParameter(double value,
        +                       java.lang.String name,
        +                       boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        critical - true if the parameter is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public java.lang.Double get()
        +
        +
        Overrides:
        +
        get in class Parameter<java.lang.Number>
        +
        Returns:
        +
        the parameter's current value.
        +
        +
      • +
      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Number newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Specified by:
        +
        validate in class Parameter<java.lang.Number>
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/IntegerParameter.html b/doc/jcgp/backend/parameters/IntegerParameter.html new file mode 100644 index 0000000..6a79d0a --- /dev/null +++ b/doc/jcgp/backend/parameters/IntegerParameter.html @@ -0,0 +1,394 @@ + + + + + +IntegerParameter + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters
+

Class IntegerParameter

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    IntegerMonitor
    +
    +
    +
    +
    public class IntegerParameter
    +extends Parameter<java.lang.Number>
    +
    Parameter subclass for the double type. Most of the + functionality is already implemented in Parameter, + leaving only construction and type definition to the + subclasses. +

    + This class contains three constructors, two of which are public. + One assumes the parameter is not critical and only takes a name + and initial value, while the other allows the critical flag + to be set as well. The third constructor is protected and allows + the monitor flag to be set as well, allowing subclasses of this class + to be used as monitors. See IntegerMonitor for an example + of this usage. +

    + The validate method is overridden here and left blank since not all + parameters actually require validation, but where validation is + required this method can be anonymously overridden on an instance-to-instance + basis.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      IntegerParameter(int value, + java.lang.String name) +
      Creates a new instance of this class, assuming the parameter + is not critical.
      +
      IntegerParameter(int value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Integerget() 
      voidvalidate(java.lang.Number newValue) +
      This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IntegerParameter

        +
        public IntegerParameter(int value,
        +                        java.lang.String name)
        +
        Creates a new instance of this class, assuming the parameter + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        IntegerParameter

        +
        public IntegerParameter(int value,
        +                        java.lang.String name,
        +                        boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this parameter.
        +
        name - the name of this parameter, for GUI display.
        +
        critical - true if the parameter is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public java.lang.Integer get()
        +
        +
        Overrides:
        +
        get in class Parameter<java.lang.Number>
        +
        Returns:
        +
        the parameter's current value.
        +
        +
      • +
      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Number newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Specified by:
        +
        validate in class Parameter<java.lang.Number>
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/Parameter.html b/doc/jcgp/backend/parameters/Parameter.html new file mode 100644 index 0000000..c616601 --- /dev/null +++ b/doc/jcgp/backend/parameters/Parameter.html @@ -0,0 +1,466 @@ + + + + + +Parameter + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters
+

Class Parameter<T>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    T - the data type stored in the parameter.
    +
    +
    +
    Direct Known Subclasses:
    +
    BooleanParameter, DoubleParameter, IntegerParameter
    +
    +
    +
    +
    public abstract class Parameter<T>
    +extends java.lang.Object
    +
    Specifies an abstract model of a module parameter. +

    + Parameters are values which control the operation of modules. + They can be freely modified and accessed by the module in which + they are declared. Additionally, the module may choose to expose + some of its parameters to a user interface, so that information + is displayed. If that is the case, the parameter can be made + read-only by setting the monitor flag (it becomes a parameter + monitor). In addition, settings the critical flag indicates to + the experiment that any changes to the parameter should result in + an experiment-wide reset. +

    + Parameter is abstract. A typical implementation defines + the data type T and initialises the valueProperty field + with a suitable type. For the sake of clarity, it may not be ideal + for a subclass constructor to expose an argument for the monitor + field. Instead, a different class should be created which constructs + the parameter as a monitor, so that the distinction between a regular + parameter and a parameter monitor is more apparent. The boolean, integer + and double implementations of parameter (and their associated monitors) + implement this pattern, refer to them for more details. +

    + The status field holds the current status of the parameter, + which should change whenever the parameter value changes. + In order for this to happen, validate() is called whenever + the parameter status should be updated. This being the case, it should + be overridden on an instance-to-instance basis, as each parameter + will likely have different validity criteria. The type of status is + ParameterStatus, an enum type defining all valid states.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Module
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Property Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      TypeProperty and Description
      javafx.beans.property.ReadOnlyProperty<T>value +
      This method is intended for bindings only.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Tget() 
      ParameterStatusgetStatus() 
      booleanisCritical() 
      booleanisMonitor() 
      voidset(T newValue) +
      Sets the parameter to the specified value, if the property + is not bound.
      +
      java.lang.StringtoString() 
      abstract voidvalidate(T newValue) +
      This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made.
      +
      javafx.beans.property.ReadOnlyProperty<T>valueProperty() +
      This method is intended for bindings only.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Property Detail

      + + + +
        +
      • +

        value

        +
        public javafx.beans.property.ReadOnlyProperty<T> valueProperty
        +
        This method is intended for bindings only. Changes to the parameter + value should be made using set().
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isMonitor

        +
        public boolean isMonitor()
        +
        +
        Returns:
        +
        true if the parameter is a monitor.
        +
        +
      • +
      + + + +
        +
      • +

        isCritical

        +
        public boolean isCritical()
        +
        +
        Returns:
        +
        true if the parameter is critical.
        +
        +
      • +
      + + + +
        +
      • +

        getStatus

        +
        public ParameterStatus getStatus()
        +
        +
        Returns:
        +
        the current status of the parameter.
        +
        +
      • +
      + + + +
        +
      • +

        valueProperty

        +
        public javafx.beans.property.ReadOnlyProperty<T> valueProperty()
        +
        This method is intended for bindings only. Changes to the parameter + value should be made using set().
        +
      • +
      + + + +
        +
      • +

        get

        +
        public T get()
        +
        +
        Returns:
        +
        the parameter's current value.
        +
        +
      • +
      + + + + + +
        +
      • +

        set

        +
        public void set(T newValue)
        +
        Sets the parameter to the specified value, if the property + is not bound.
        +
        +
        Parameters:
        +
        newValue - the new value for the parameter.
        +
        +
      • +
      + + + + + +
        +
      • +

        validate

        +
        public abstract void validate(T newValue)
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/ParameterStatus.html b/doc/jcgp/backend/parameters/ParameterStatus.html new file mode 100644 index 0000000..fc216df --- /dev/null +++ b/doc/jcgp/backend/parameters/ParameterStatus.html @@ -0,0 +1,432 @@ + + + + + +ParameterStatus + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters
+

Enum ParameterStatus

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ParameterStatus>
    +
    +
    +
    +
    public enum ParameterStatus
    +extends java.lang.Enum<ParameterStatus>
    +
    Enum type containing all possible states for parameters. +
    +
      +
    • INVALID: the new parameter value is not valid, + and the experiment will not be allowed to run.
    • +
    • WARNING: the new parameter value is technically valid, + though it might lead to undesirable behaviour.
    • +
    • WARNING_RESET: the new parameter value is technically valid + but will require a reset.
    • +
    • VALID: the new value is valid.
    • +
    +

    + The above definitions are final in the sense that they outline + how parameters are treated by the program depending on their + status (e.g. if any parameters are set to WARNING_RESET, a reset + will automatically be performed when the experiment is run). +
    + In addition to the status itself, this class includes a field + to contain details about the current status. If a GUI is in use, + the contents of the field should be displayed to the user, as well + as some visual indication of the status itself. Both the status + and the message should be updated by each parameter when validate() + is called.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Parameter
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDetails() 
      voidsetDetails(java.lang.String details) +
      Sets a new string containing details about the current status.
      +
      static ParameterStatusvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static ParameterStatus[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ParameterStatus[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ParameterStatus c : ParameterStatus.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ParameterStatus valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        setDetails

        +
        public void setDetails(java.lang.String details)
        +
        Sets a new string containing details about the current status. + This should be displayed by the GUI, if one is in use.
        +
        +
        Parameters:
        +
        details - an explanation of the current status.
        +
        +
      • +
      + + + +
        +
      • +

        getDetails

        +
        public java.lang.String getDetails()
        +
        +
        Returns:
        +
        the string containing details about the current status.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/class-use/BooleanParameter.html b/doc/jcgp/backend/parameters/class-use/BooleanParameter.html new file mode 100644 index 0000000..7f43c20 --- /dev/null +++ b/doc/jcgp/backend/parameters/class-use/BooleanParameter.html @@ -0,0 +1,167 @@ + + + + + +Uses of Class jcgp.backend.parameters.BooleanParameter + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.BooleanParameter

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/class-use/DoubleParameter.html b/doc/jcgp/backend/parameters/class-use/DoubleParameter.html new file mode 100644 index 0000000..9d559b2 --- /dev/null +++ b/doc/jcgp/backend/parameters/class-use/DoubleParameter.html @@ -0,0 +1,167 @@ + + + + + +Uses of Class jcgp.backend.parameters.DoubleParameter + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.DoubleParameter

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/class-use/IntegerParameter.html b/doc/jcgp/backend/parameters/class-use/IntegerParameter.html new file mode 100644 index 0000000..75b6c3f --- /dev/null +++ b/doc/jcgp/backend/parameters/class-use/IntegerParameter.html @@ -0,0 +1,237 @@ + + + + + +Uses of Class jcgp.backend.parameters.IntegerParameter + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.IntegerParameter

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/class-use/Parameter.html b/doc/jcgp/backend/parameters/class-use/Parameter.html new file mode 100644 index 0000000..7d037b6 --- /dev/null +++ b/doc/jcgp/backend/parameters/class-use/Parameter.html @@ -0,0 +1,267 @@ + + + + + +Uses of Class jcgp.backend.parameters.Parameter + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.Parameter

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/class-use/ParameterStatus.html b/doc/jcgp/backend/parameters/class-use/ParameterStatus.html new file mode 100644 index 0000000..d0471f9 --- /dev/null +++ b/doc/jcgp/backend/parameters/class-use/ParameterStatus.html @@ -0,0 +1,177 @@ + + + + + +Uses of Class jcgp.backend.parameters.ParameterStatus + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.ParameterStatus

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/BooleanMonitor.html b/doc/jcgp/backend/parameters/monitors/BooleanMonitor.html new file mode 100644 index 0000000..7b20189 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/BooleanMonitor.html @@ -0,0 +1,368 @@ + + + + + +BooleanMonitor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters.monitors
+

Class BooleanMonitor

+
+
+ +
+
    +
  • +
    +
    +
    public class BooleanMonitor
    +extends BooleanParameter
    +
    This is a special type of BooleanParameter which + cannot be modified in the GUI (if the GUI is in use).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      BooleanMonitor(boolean value, + java.lang.String name) +
      Creates a new instance of this class, assuming the monitor + is not critical.
      +
      BooleanMonitor(boolean value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BooleanMonitor

        +
        public BooleanMonitor(boolean value,
        +                      java.lang.String name)
        +
        Creates a new instance of this class, assuming the monitor + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        BooleanMonitor

        +
        public BooleanMonitor(boolean value,
        +                      java.lang.String name,
        +                      boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        critical - true if the monitor is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Boolean newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Overrides:
        +
        validate in class BooleanParameter
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/DoubleMonitor.html b/doc/jcgp/backend/parameters/monitors/DoubleMonitor.html new file mode 100644 index 0000000..6c04a90 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/DoubleMonitor.html @@ -0,0 +1,368 @@ + + + + + +DoubleMonitor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters.monitors
+

Class DoubleMonitor

+
+
+ +
+
    +
  • +
    +
    +
    public class DoubleMonitor
    +extends DoubleParameter
    +
    This is a special type of DoubleParameter which + cannot be modified in the GUI (if the GUI is in use).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      DoubleMonitor(double value, + java.lang.String name) +
      Creates a new instance of this class, assuming the monitor + is not critical.
      +
      DoubleMonitor(double value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DoubleMonitor

        +
        public DoubleMonitor(double value,
        +                     java.lang.String name)
        +
        Creates a new instance of this class, assuming the monitor + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        DoubleMonitor

        +
        public DoubleMonitor(double value,
        +                     java.lang.String name,
        +                     boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        critical - true if the monitor is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Number newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Overrides:
        +
        validate in class DoubleParameter
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/IntegerMonitor.html b/doc/jcgp/backend/parameters/monitors/IntegerMonitor.html new file mode 100644 index 0000000..9ebc2d8 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/IntegerMonitor.html @@ -0,0 +1,368 @@ + + + + + +IntegerMonitor + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parameters.monitors
+

Class IntegerMonitor

+
+
+ +
+
    +
  • +
    +
    +
    public class IntegerMonitor
    +extends IntegerParameter
    +
    This is a special type of IntegerParameter which + cannot be modified in the GUI (if the GUI is in use).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      IntegerMonitor(int value, + java.lang.String name) +
      Creates a new instance of this class, assuming the monitor + is not critical.
      +
      IntegerMonitor(int value, + java.lang.String name, + boolean critical) +
      Creates a new instance of this class.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IntegerMonitor

        +
        public IntegerMonitor(int value,
        +                      java.lang.String name)
        +
        Creates a new instance of this class, assuming the monitor + is not critical.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        +
      • +
      + + + +
        +
      • +

        IntegerMonitor

        +
        public IntegerMonitor(int value,
        +                      java.lang.String name,
        +                      boolean critical)
        +
        Creates a new instance of this class.
        +
        +
        Parameters:
        +
        value - the initial value for this monitor.
        +
        name - the name of this monitor, for GUI display.
        +
        critical - true if the monitor is critical.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        public void validate(java.lang.Number newValue)
        +
        Description copied from class: Parameter
        +
        This is a callback method which gets called whenever changes + to parameters (not only its own instance) are made. This method + is intended to set the status field according to the + new value, so that the user can be informed if any parameters + are currently set to invalid values.
        +
        +
        Overrides:
        +
        validate in class IntegerParameter
        +
        Parameters:
        +
        newValue - the new value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/class-use/BooleanMonitor.html b/doc/jcgp/backend/parameters/monitors/class-use/BooleanMonitor.html new file mode 100644 index 0000000..abda05b --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/class-use/BooleanMonitor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parameters.monitors.BooleanMonitor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.monitors.BooleanMonitor

+
+
No usage of jcgp.backend.parameters.monitors.BooleanMonitor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/class-use/DoubleMonitor.html b/doc/jcgp/backend/parameters/monitors/class-use/DoubleMonitor.html new file mode 100644 index 0000000..4b51550 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/class-use/DoubleMonitor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parameters.monitors.DoubleMonitor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.monitors.DoubleMonitor

+
+
No usage of jcgp.backend.parameters.monitors.DoubleMonitor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/class-use/IntegerMonitor.html b/doc/jcgp/backend/parameters/monitors/class-use/IntegerMonitor.html new file mode 100644 index 0000000..a103997 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/class-use/IntegerMonitor.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parameters.monitors.IntegerMonitor + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parameters.monitors.IntegerMonitor

+
+
No usage of jcgp.backend.parameters.monitors.IntegerMonitor
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/package-frame.html b/doc/jcgp/backend/parameters/monitors/package-frame.html new file mode 100644 index 0000000..af63177 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/package-frame.html @@ -0,0 +1,22 @@ + + + + + +jcgp.backend.parameters.monitors + + + + + +

jcgp.backend.parameters.monitors

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/parameters/monitors/package-summary.html b/doc/jcgp/backend/parameters/monitors/package-summary.html new file mode 100644 index 0000000..d7b074c --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/package-summary.html @@ -0,0 +1,159 @@ + + + + + +jcgp.backend.parameters.monitors + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.parameters.monitors

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/package-tree.html b/doc/jcgp/backend/parameters/monitors/package-tree.html new file mode 100644 index 0000000..3b96ca8 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/package-tree.html @@ -0,0 +1,155 @@ + + + + + +jcgp.backend.parameters.monitors Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.parameters.monitors

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/monitors/package-use.html b/doc/jcgp/backend/parameters/monitors/package-use.html new file mode 100644 index 0000000..c6ae683 --- /dev/null +++ b/doc/jcgp/backend/parameters/monitors/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package jcgp.backend.parameters.monitors + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.parameters.monitors

+
+
No usage of jcgp.backend.parameters.monitors
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/package-frame.html b/doc/jcgp/backend/parameters/package-frame.html new file mode 100644 index 0000000..71d0bf3 --- /dev/null +++ b/doc/jcgp/backend/parameters/package-frame.html @@ -0,0 +1,27 @@ + + + + + +jcgp.backend.parameters + + + + + +

jcgp.backend.parameters

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/doc/jcgp/backend/parameters/package-summary.html b/doc/jcgp/backend/parameters/package-summary.html new file mode 100644 index 0000000..0942c04 --- /dev/null +++ b/doc/jcgp/backend/parameters/package-summary.html @@ -0,0 +1,179 @@ + + + + + +jcgp.backend.parameters + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.parameters

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/package-tree.html b/doc/jcgp/backend/parameters/package-tree.html new file mode 100644 index 0000000..b82ea62 --- /dev/null +++ b/doc/jcgp/backend/parameters/package-tree.html @@ -0,0 +1,155 @@ + + + + + +jcgp.backend.parameters Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.parameters

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parameters/package-use.html b/doc/jcgp/backend/parameters/package-use.html new file mode 100644 index 0000000..d16ea79 --- /dev/null +++ b/doc/jcgp/backend/parameters/package-use.html @@ -0,0 +1,263 @@ + + + + + +Uses of Package jcgp.backend.parameters + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.parameters

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/ChromosomeParser.html b/doc/jcgp/backend/parsers/ChromosomeParser.html new file mode 100644 index 0000000..14862f6 --- /dev/null +++ b/doc/jcgp/backend/parsers/ChromosomeParser.html @@ -0,0 +1,324 @@ + + + + + +ChromosomeParser + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parsers
+

Class ChromosomeParser

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class ChromosomeParser
    +extends java.lang.Object
    +
    This class contains a method for parsing .chr files and another + for writing .chr files from given chromosomes.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ChromosomeParser() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidparse(java.io.File file, + Chromosome chromosome, + Resources resources) +
      Use this method to parse .chr files into a given chromosome.
      +
      static voidsave(java.io.File file, + Chromosome chromosome, + Resources resources) +
      Writes a chromosome into the specified .chr file.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ChromosomeParser

        +
        public ChromosomeParser()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public static void parse(java.io.File file,
        +                         Chromosome chromosome,
        +                         Resources resources)
        +
        Use this method to parse .chr files into a given chromosome. +

        + This is not fully defensive as it doesn't check for number of inputs, + doesn't compare rows and columns individually and doesn't account for levels back. It + is not viable to implement these defensive measures with the chromosome format used + by CGP.
        +
        +
        Parameters:
        +
        file - the .chr file to parse from
        +
        chromosome - the chromosome to configure
        +
        resources - the experiment resources
        +
        +
      • +
      + + + +
        +
      • +

        save

        +
        public static void save(java.io.File file,
        +                        Chromosome chromosome,
        +                        Resources resources)
        +
        Writes a chromosome into the specified .chr file. +

        + The file is written in the standard .chr format and can + be read by the original CGP implementation.
        +
        +
        Parameters:
        +
        file - the file to write to
        +
        chromosome - the chromosome to save
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/FunctionParser.html b/doc/jcgp/backend/parsers/FunctionParser.html new file mode 100644 index 0000000..f7ef21c --- /dev/null +++ b/doc/jcgp/backend/parsers/FunctionParser.html @@ -0,0 +1,301 @@ + + + + + +FunctionParser + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parsers
+

Class FunctionParser

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class FunctionParser
    +extends java.lang.Object
    +
    Contains a static method for parsing functions from a + .par file.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FunctionParser() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidparse(java.io.File file, + FunctionSet functionSet, + Resources resources) +
      Reads the specified file and attempts to enable + and disable the functions in the FunctionSet + accordingly.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FunctionParser

        +
        public FunctionParser()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public static void parse(java.io.File file,
        +                         FunctionSet functionSet,
        +                         Resources resources)
        +
        Reads the specified file and attempts to enable + and disable the functions in the FunctionSet + accordingly. +

        + Standard CGP .par files do not contain enough information + to determine if they match the currently selected function set. + For this reason, the parser assumes the function set is correct + and treats functions by their index rather than their name. Any + index outside the bounds of the function set is ignored and a + warning message is printed once parsing is complete.
        +
        +
        Parameters:
        +
        file - the .par file to parse.
        +
        functionSet - the function set whose functions should be modified.
        +
        resources - used for printing console messages.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/ParameterParser.html b/doc/jcgp/backend/parsers/ParameterParser.html new file mode 100644 index 0000000..3dd7c2d --- /dev/null +++ b/doc/jcgp/backend/parsers/ParameterParser.html @@ -0,0 +1,294 @@ + + + + + +ParameterParser + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parsers
+

Class ParameterParser

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class ParameterParser
    +extends java.lang.Object
    +
    Contains a static method for parsing parameters from a + .par file.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ParameterParser() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidparse(java.io.File file, + ModifiableResources resources) +
      Parses the parameters from a specified CGP parameter file and + modifies the experiment resources appropriately.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ParameterParser

        +
        public ParameterParser()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public static void parse(java.io.File file,
        +                         ModifiableResources resources)
        +
        Parses the parameters from a specified CGP parameter file and + modifies the experiment resources appropriately. +

        + CGP .par files do not follow a very strict convention, so this + parser does its best to cope with format irregularities. Parsing + works even if the parameters are in the wrong order, and unknown + parameters are simply ignored.
        +
        +
        Parameters:
        +
        file - the .par file to parse.
        +
        resources - a reference to the resources object that must be modified.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/TestCaseParser.html b/doc/jcgp/backend/parsers/TestCaseParser.html new file mode 100644 index 0000000..e3dc642 --- /dev/null +++ b/doc/jcgp/backend/parsers/TestCaseParser.html @@ -0,0 +1,296 @@ + + + + + +TestCaseParser + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.parsers
+

Class TestCaseParser

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class TestCaseParser
    +extends java.lang.Object
    +
    Contains a static method for parsing values from a + CGP problem data file. The actual file extension + varies from problem to problem, and is therefore + defined in the experiment's Problem instance.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TestCaseParser() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidparse(java.io.File file, + TestCaseProblem<?> problem, + ModifiableResources resources) +
      Sets the number of inputs and outputs in the resources + to match the given file, and parses each test case + from the file into the specified problem.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TestCaseParser

        +
        public TestCaseParser()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public static void parse(java.io.File file,
        +                         TestCaseProblem<?> problem,
        +                         ModifiableResources resources)
        +
        Sets the number of inputs and outputs in the resources + to match the given file, and parses each test case + from the file into the specified problem.
        +
        +
        Parameters:
        +
        file - the problem file to parse.
        +
        problem - the problem into which to parse the problem data.
        +
        resources - a modifiable reference to the experiment's resources
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/class-use/ChromosomeParser.html b/doc/jcgp/backend/parsers/class-use/ChromosomeParser.html new file mode 100644 index 0000000..e75e1c7 --- /dev/null +++ b/doc/jcgp/backend/parsers/class-use/ChromosomeParser.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parsers.ChromosomeParser + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parsers.ChromosomeParser

+
+
No usage of jcgp.backend.parsers.ChromosomeParser
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/class-use/FunctionParser.html b/doc/jcgp/backend/parsers/class-use/FunctionParser.html new file mode 100644 index 0000000..ae142f1 --- /dev/null +++ b/doc/jcgp/backend/parsers/class-use/FunctionParser.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parsers.FunctionParser + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parsers.FunctionParser

+
+
No usage of jcgp.backend.parsers.FunctionParser
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/class-use/ParameterParser.html b/doc/jcgp/backend/parsers/class-use/ParameterParser.html new file mode 100644 index 0000000..25ee51d --- /dev/null +++ b/doc/jcgp/backend/parsers/class-use/ParameterParser.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parsers.ParameterParser + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parsers.ParameterParser

+
+
No usage of jcgp.backend.parsers.ParameterParser
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/class-use/TestCaseParser.html b/doc/jcgp/backend/parsers/class-use/TestCaseParser.html new file mode 100644 index 0000000..6a6fd9e --- /dev/null +++ b/doc/jcgp/backend/parsers/class-use/TestCaseParser.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.parsers.TestCaseParser + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.parsers.TestCaseParser

+
+
No usage of jcgp.backend.parsers.TestCaseParser
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/package-frame.html b/doc/jcgp/backend/parsers/package-frame.html new file mode 100644 index 0000000..6465787 --- /dev/null +++ b/doc/jcgp/backend/parsers/package-frame.html @@ -0,0 +1,23 @@ + + + + + +jcgp.backend.parsers + + + + + +

jcgp.backend.parsers

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/parsers/package-summary.html b/doc/jcgp/backend/parsers/package-summary.html new file mode 100644 index 0000000..bce0483 --- /dev/null +++ b/doc/jcgp/backend/parsers/package-summary.html @@ -0,0 +1,166 @@ + + + + + +jcgp.backend.parsers + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.parsers

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/package-tree.html b/doc/jcgp/backend/parsers/package-tree.html new file mode 100644 index 0000000..0f41a20 --- /dev/null +++ b/doc/jcgp/backend/parsers/package-tree.html @@ -0,0 +1,140 @@ + + + + + +jcgp.backend.parsers Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.parsers

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/parsers/package-use.html b/doc/jcgp/backend/parsers/package-use.html new file mode 100644 index 0000000..f58b655 --- /dev/null +++ b/doc/jcgp/backend/parsers/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package jcgp.backend.parsers + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.parsers

+
+
No usage of jcgp.backend.parsers
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Chromosome.html b/doc/jcgp/backend/population/Chromosome.html new file mode 100644 index 0000000..ffcb6f8 --- /dev/null +++ b/doc/jcgp/backend/population/Chromosome.html @@ -0,0 +1,742 @@ + + + + + +Chromosome + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Chromosome

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Comparable<Chromosome>
    +
    +
    +
    +
    public class Chromosome
    +extends java.lang.Object
    +implements java.lang.Comparable<Chromosome>
    +
    This class encapsulates a CGP chromosome. +

    + A chromosome contains a matrix of nodes and arrays of inputs and outputs. + These elements are all interconnected, and actually form the chromosome + network itself. Individual nodes can be retrieved using getNode() + which requires the row and column to be specified. The same works for + inputs and outputs using the associated getters, in which case only the + index is necessary. +

    + In evolutionary computation it is often necessary to make copies of + chromosomes; this can be accomplished in JCGP in two ways. The recommended + way to do this is using copyChromosome() in Population, but alternatively + it can be done by using the Chromosome copy constructor and specifying the + object to copy from, or by using the copyGenes() method. +

    + To illustrate this, given two chromosomes, chr1 and chr2, the following code: +

    + + chr1.copyGenes(chr2); +

    + will modify all of chr1's connections and functions to match those of chr2, without + creating a new instance. In contrast, +

    + + chr1 = new Chromosome(chr2); +

    + creates a new instance of chromosome which is identical to chr2 and assigns it to chr1, + meaning any old references to chr1 that are not updated will still refer to a chromosome + that is not identical to chr2. In practice, the most reliable way is to use the copy method + in Population. Assuming chr1 and chr2 are indexed 1 and 2 in population respectively, +

    + population.copyChromosome(2, 1); +

    + will copy chr2 into chr1 without creating new instances or requiring access to the underlying + chromosome array. Chromosome offers a variety of methods to compare chromosomes as well, + such as compareGenesTo() and compareActiveGenesTo(). Comparable is implemented + to compare fitness value, meaning compareTo() returns a value depending the relative fitness + of the compared chromosomes. +

    + In order to set the chromosome's input values for decoding, setInputs() should be used. A few + utility methods are provided in order to retrieve random elements from the chromosome, which are used + internally to initialise with random connections but also externally by mutators when performing + mutations.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      Chromosome(Chromosome clone) +
      Copy constructor.
      +
      Chromosome(Resources resources) +
      Initialise a chromosome with the specified parameters.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleancompareActiveGenesTo(Chromosome chromosome) +
      Does the same as compareGenesto() but only looks + at the active portion of the chromosome.
      +
      booleancompareGenesTo(Chromosome chromosome) +
      Performs a deep comparison between this chromosome and the provided one.
      +
      intcompareTo(Chromosome o) 
      voidcopyGenes(Chromosome clone) +
      Creates a deep copy of the specified chromosome in the + this instance.
      +
      java.util.ArrayList<Node>getActiveNodes() +
      This method computes a list of active nodes (if necessary) and returns it.
      +
      doublegetFitness() 
      InputgetInput(int index) +
      Returns a reference to the indexed input.
      +
      NodegetNode(int row, + int column) +
      Returns a reference to any node, addressed by row and column.
      +
      OutputgetOutput(int index) +
      Returns a reference to the indexed output.
      +
      ConnectiongetRandomConnection() +
      This method will pick a completely random connection, independently + of levels back, including inputs.
      +
      ConnectiongetRandomConnection(int column) +
      Returns a random allowed connection respecting levels back.
      + This method may always pick inputs, as they can be picked + regardless of the column.
      +
      MutableElementgetRandomMutableElement() +
      This method is useful for mutating chromosomes.
      +
      ResourcesgetResources() 
      voidprintNodes() +
      Iterates through the nodes and prints all connections and functions.
      +
      voidrecomputeActiveNodes() +
      This causes the list of active nodes to be recomputed lazily (once it is actually requested).
      +
      voidreinitialiseConnections() +
      Sets random connections and functions across the entire + chromosome.
      +
      voidsetFitness(double newFitness) +
      Sets the fitness of the chromosome.
      +
      voidsetInputs(java.lang.Object... values) +
      Loops through the inputs and sets the specified values, + so that evaluations can be performed.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Chromosome

        +
        public Chromosome(Resources resources)
        +
        Initialise a chromosome with the specified parameters. Random valid connections + are created upon initialisation.
        +
        +
        Parameters:
        +
        resources - the experiment's resources.
        +
        +
      • +
      + + + +
        +
      • +

        Chromosome

        +
        public Chromosome(Chromosome clone)
        +
        Copy constructor. + + Initialise a new chromosome with the exact same connections as a given instance of Chromosome.
        +
        +
        Parameters:
        +
        clone - the chromosome to be copied.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        reinitialiseConnections

        +
        public void reinitialiseConnections()
        +
        Sets random connections and functions across the entire + chromosome. This method can be used more than once for + each instance, if entirely random chromosomes are desired.
        +
      • +
      + + + +
        +
      • +

        copyGenes

        +
        public void copyGenes(Chromosome clone)
        +
        Creates a deep copy of the specified chromosome in the + this instance. In practice, this iterates through the + entire chromosome making equivalent connections and + setting functions to the same values as those in the + specified chromosome. It also sets the fitness of the + copy to the same value as the original. +
        + It is assumed that both chromosomes have the same + topology; while this method will still run if that is not + the case, the effects might be undesirable and null pointer + access might occur.
        +
        +
        Parameters:
        +
        clone - the chromosome to clone.
        +
        +
      • +
      + + + +
        +
      • +

        getNode

        +
        public Node getNode(int row,
        +                    int column)
        +
        Returns a reference to any node, addressed by row and column.
        +
        +
        Parameters:
        +
        row - the row of the node.
        +
        column - the column of the node.
        +
        Returns:
        +
        the addressed node.
        +
        +
      • +
      + + + +
        +
      • +

        getOutput

        +
        public Output getOutput(int index)
        +
        Returns a reference to the indexed output.
        +
        +
        Parameters:
        +
        index - the output index.
        +
        Returns:
        +
        the output reference.
        +
        +
      • +
      + + + +
        +
      • +

        getInput

        +
        public Input getInput(int index)
        +
        Returns a reference to the indexed input.
        +
        +
        Parameters:
        +
        index - the input index.
        +
        Returns:
        +
        the input reference.
        +
        +
      • +
      + + + +
        +
      • +

        getFitness

        +
        public double getFitness()
        +
        +
        Returns:
        +
        the fitness of the chromosome.
        +
        +
      • +
      + + + +
        +
      • +

        setFitness

        +
        public void setFitness(double newFitness)
        +
        Sets the fitness of the chromosome. This method + should be used by the experiment problem when the + population is evaluated in order to assign a fitness + to each individual.
        +
        +
        Parameters:
        +
        newFitness - the fitness to assign.
        +
        +
      • +
      + + + +
        +
      • +

        setInputs

        +
        public void setInputs(java.lang.Object... values)
        +
        Loops through the inputs and sets the specified values, + so that evaluations can be performed. If the number of + elements in the array of values does not match the + number of inputs exactly, an exception is thrown.
        +
        +
        Parameters:
        +
        values - the values the input should take.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomMutableElement

        +
        public MutableElement getRandomMutableElement()
        +
        This method is useful for mutating chromosomes. It returns any + random MutableElement out of the chromosome with equal + probability.
        +
        +
        Returns:
        +
        a random element that can be mutated - node or output.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomConnection

        +
        public Connection getRandomConnection(int column)
        +
        Returns a random allowed connection respecting levels back.
        + This method may always pick inputs, as they can be picked + regardless of the column.
        +
        +
        Parameters:
        +
        column - the column to use as reference.
        +
        Returns:
        +
        a random connection.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomConnection

        +
        public Connection getRandomConnection()
        +
        This method will pick a completely random connection, independently + of levels back, including inputs. It is useful for setting outputs.
        +
        +
        Returns:
        +
        a random connection regardless of levels back.
        +
        +
      • +
      + + + +
        +
      • +

        recomputeActiveNodes

        +
        public void recomputeActiveNodes()
        +
        This causes the list of active nodes to be recomputed lazily (once it is actually requested).
        +
      • +
      + + + +
        +
      • +

        getActiveNodes

        +
        public java.util.ArrayList<Node> getActiveNodes()
        +
        This method computes a list of active nodes (if necessary) and returns it.
        +
        +
        Returns:
        +
        the list of active nodes.
        +
        +
      • +
      + + + +
        +
      • +

        compareGenesTo

        +
        public boolean compareGenesTo(Chromosome chromosome)
        +
        Performs a deep comparison between this chromosome and the provided one. + This is done on a gene-by-gene basis. + + This method returns true if and only if: +
          +
        • the chromosomes being compared are not the same instance;
        • +
        • the connections of the compared chromosomes are not the same instance;
        • +
        • the grid position of the chromosome's elements are the same;
        • +
        +

        + The relationship computed by this method is: +
          +
        • symmetric: a.copyOf(b) == b.copyOf(a);
        • +
        • not reflexive: a.copyOf(a) returns false;
        • +
        • not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c.
        • +
        +
        +
        Parameters:
        +
        chromosome - the chromosome to compare to.
        +
        Returns:
        +
        true if it is a copy of this chromosome, but not the same chromosome.
        +
        +
      • +
      + + + +
        +
      • +

        compareActiveGenesTo

        +
        public boolean compareActiveGenesTo(Chromosome chromosome)
        +
        Does the same as compareGenesto() but only looks + at the active portion of the chromosome.
        +
        +
        Parameters:
        +
        chromosome - the chromosome to compare to.
        +
        Returns:
        +
        true if the two active portions are identical.
        +
        +
      • +
      + + + +
        +
      • +

        printNodes

        +
        public void printNodes()
        +
        Iterates through the nodes and prints all connections and functions. + This is intended for debugging purposes only and does not print to the + GUI console.
        +
      • +
      + + + +
        +
      • +

        getResources

        +
        public Resources getResources()
        +
        +
        Returns:
        +
        a reference to the resources based on which the chromosome was built.
        +
        +
      • +
      + + + +
        +
      • +

        compareTo

        +
        public int compareTo(Chromosome o)
        +
        +
        Specified by:
        +
        compareTo in interface java.lang.Comparable<Chromosome>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Connection.html b/doc/jcgp/backend/population/Connection.html new file mode 100644 index 0000000..b7b5c07 --- /dev/null +++ b/doc/jcgp/backend/population/Connection.html @@ -0,0 +1,249 @@ + + + + + +Connection + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Interface Connection

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    Input, Node
    +
    +
    +
    +
    public interface Connection
    +
    Connection declares the expected behaviour of any + part of a chromosome that can be connected to, specifically + nodes or inputs. Outputs are not connections since they + mark the end of chromosome paths. +

    + This interface provides a way to deal with connections + generically without having to specify whether they are nodes + or inputs. In this way a random connection can be picked and + dealt with more easily, facilitating mutations.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getValue

        +
        java.lang.Object getValue()
        +
        Compute and return the value of this connection. In + the case of inputs no computation is necessary, this + simply returns the value the input is set to. In the + case of nodes, the value is computed based on the + node's function and the value of its own connections.
        +
        +
        Returns:
        +
        the connection's value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Gene.html b/doc/jcgp/backend/population/Gene.html new file mode 100644 index 0000000..0a2a9cf --- /dev/null +++ b/doc/jcgp/backend/population/Gene.html @@ -0,0 +1,241 @@ + + + + + +Gene + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Gene

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    Input, Node, Output
    +
    +
    +
    +
    public abstract class Gene
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Gene() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Gene

        +
        public Gene()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Input.html b/doc/jcgp/backend/population/Input.html new file mode 100644 index 0000000..1ac3b97 --- /dev/null +++ b/doc/jcgp/backend/population/Input.html @@ -0,0 +1,361 @@ + + + + + +Input + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Input

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Connection
    +
    +
    +
    +
    public class Input
    +extends java.lang.Object
    +implements Connection
    +
    This is a chromosome input. Inputs are a special + type of connection which simply return a set value. + They do not have connections and instead provide a + starting point for the chromosome's active paths.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Input(int index) +
      Initialises a new input with the current index.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetIndex() 
      java.lang.ObjectgetValue() +
      Compute and return the value of this connection.
      +
      voidsetValue(java.lang.Object newValue) +
      Sets this input's value.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Input

        +
        public Input(int index)
        +
        Initialises a new input with the current index.
        +
        +
        Parameters:
        +
        index - the index of the new input.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setValue

        +
        public void setValue(java.lang.Object newValue)
        +
        Sets this input's value. The new value + will now be returned by this input's + getValue() method.
        +
        +
        Parameters:
        +
        newValue - the value to set.
        +
        +
      • +
      + + + +
        +
      • +

        getIndex

        +
        public int getIndex()
        +
        +
        Returns:
        +
        the input's index.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public java.lang.Object getValue()
        +
        Description copied from interface: Connection
        +
        Compute and return the value of this connection. In + the case of inputs no computation is necessary, this + simply returns the value the input is set to. In the + case of nodes, the value is computed based on the + node's function and the value of its own connections.
        +
        +
        Specified by:
        +
        getValue in interface Connection
        +
        Returns:
        +
        the connection's value.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/MutableElement.html b/doc/jcgp/backend/population/MutableElement.html new file mode 100644 index 0000000..4af7b7e --- /dev/null +++ b/doc/jcgp/backend/population/MutableElement.html @@ -0,0 +1,306 @@ + + + + + +MutableElement + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Interface MutableElement

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    Node, Output
    +
    +
    +
    +
    public interface MutableElement
    +
    MutableElement declares the expected behaviour of any + part of a chromosome that is mutable, more specifically + nodes or outputs. Inputs are not mutable since they don't have + connections or functions. +

    + This interface provides a way to deal with mutable elements + generically without having to specify whether they are nodes + or outputs. In this way a random mutable element can be picked and + dealt with more easily, facilitating mutations.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      booleancopyOf(MutableElement element) +
      Asserts if the specified element is a copy of the elements + this is called on.
      + This method returns true if and only if: + + the elements being compared are not the same instance; + the connections of the compared elements are not the same instance; + the elements have the same function (in the case of Node); + the grid position of the elements themselves are the same; + the grid position of all equivalent connections are the same; + +

      + The relationship computed by this method is: + + symmetric: a.copyOf(b) == b.copyOf(a); + not reflexive: a.copyOf(a) returns false; + not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c. +
      +
      voidsetConnection(int index, + Connection newConnection) +
      This method sets the indexed connection to the specified new connection.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setConnection

        +
        void setConnection(int index,
        +                   Connection newConnection)
        +
        This method sets the indexed connection to the specified new connection. + Implementing classes may choose to ignore the given index (such as in the + case of outputs, which only have one connection).
        +
        +
        Parameters:
        +
        index - the connection index to set.
        +
        newConnection - the chromosome element to connect to.
        +
        +
      • +
      + + + +
        +
      • +

        copyOf

        +
        boolean copyOf(MutableElement element)
        +
        Asserts if the specified element is a copy of the elements + this is called on.
        + This method returns true if and only if: +
          +
        • the elements being compared are not the same instance;
        • +
        • the connections of the compared elements are not the same instance;
        • +
        • the elements have the same function (in the case of Node);
        • +
        • the grid position of the elements themselves are the same;
        • +
        • the grid position of all equivalent connections are the same;
        • +
        +

        + The relationship computed by this method is: +
          +
        • symmetric: a.copyOf(b) == b.copyOf(a);
        • +
        • not reflexive: a.copyOf(a) returns false;
        • +
        • not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c.
        • +
        +
        +
        Parameters:
        +
        element - the mutable element to compare to.
        +
        Returns:
        +
        true if element is a copy of this element.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Node.html b/doc/jcgp/backend/population/Node.html new file mode 100644 index 0000000..9e7b9a5 --- /dev/null +++ b/doc/jcgp/backend/population/Node.html @@ -0,0 +1,544 @@ + + + + + +Node + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Node

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Connection, MutableElement
    +
    +
    +
    +
    public class Node
    +extends java.lang.Object
    +implements MutableElement, Connection
    +
    Nodes make up the main part of the chromosome, + where the actual functions are evolved. Each node + contains a function and a number of connections. + The node outputs the result of performing its function + on the values of its connections. Nodes therefore + implement both MutableElement and Connection + since they can be mutated but also connected to. + Nodes are constructed with a fixed number of connections + (determined by the maximum arity of the function set) + and must be reinstantiated if the experiment arity + changes.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Node(Chromosome chromosome, + int row, + int column, + int arity) +
      Constructs a new instance of Node with the + specified parameters.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleancopyOf(MutableElement element) +
      Asserts if the specified element is a copy of the elements + this is called on.
      + This method returns true if and only if: + + the elements being compared are not the same instance; + the connections of the compared elements are not the same instance; + the elements have the same function (in the case of Node); + the grid position of the elements themselves are the same; + the grid position of all equivalent connections are the same; + +

      + The relationship computed by this method is: + + symmetric: a.copyOf(b) == b.copyOf(a); + not reflexive: a.copyOf(a) returns false; + not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c. +
      +
      intgetColumn() 
      ConnectiongetConnection(int index) 
      FunctiongetFunction() 
      intgetRow() 
      java.lang.ObjectgetValue() +
      Compute and return the value of this connection.
      +
      voidinitialise(Function newFunction, + Connection... newConnections) +
      Initialises the node with the specified values.
      +
      voidsetConnection(int index, + Connection newConnection) +
      This method sets the indexed connection to the specified new connection.
      +
      voidsetFunction(Function newFunction) +
      Sets the node function.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Node

        +
        public Node(Chromosome chromosome,
        +            int row,
        +            int column,
        +            int arity)
        +
        Constructs a new instance of Node with the + specified parameters. Nodes must contain their + own row and column for ease of copying.
        +
        +
        Parameters:
        +
        chromosome - the chromosome this node belongs to.
        +
        row - the node's row.
        +
        column - the node's column.
        +
        arity - the maximum arity of the experiment.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setFunction

        +
        public void setFunction(Function newFunction)
        +
        Sets the node function.
        +
        +
        Parameters:
        +
        newFunction - the new function to set.
        +
        +
      • +
      + + + +
        +
      • +

        initialise

        +
        public void initialise(Function newFunction,
        +                       Connection... newConnections)
        +
        Initialises the node with the specified values. + The number of connections passed as argument must + be exactly the same as the experiment arity, or + an IllegalArgumentException will be thrown.
        +
        +
        Parameters:
        +
        newFunction - the node function to set.
        +
        newConnections - the node connections to set.
        +
        +
      • +
      + + + +
        +
      • +

        getColumn

        +
        public int getColumn()
        +
        +
        Returns:
        +
        this node's column.
        +
        +
      • +
      + + + +
        +
      • +

        getRow

        +
        public int getRow()
        +
        +
        Returns:
        +
        this node's row.
        +
        +
      • +
      + + + +
        +
      • +

        getFunction

        +
        public Function getFunction()
        +
        +
        Returns:
        +
        this node's function.
        +
        +
      • +
      + + + +
        +
      • +

        getConnection

        +
        public Connection getConnection(int index)
        +
        +
        Parameters:
        +
        index - the connection to return.
        +
        Returns:
        +
        the indexed connection.
        +
        +
      • +
      + + + +
        +
      • +

        copyOf

        +
        public boolean copyOf(MutableElement element)
        +
        Description copied from interface: MutableElement
        +
        Asserts if the specified element is a copy of the elements + this is called on.
        + This method returns true if and only if: +
          +
        • the elements being compared are not the same instance;
        • +
        • the connections of the compared elements are not the same instance;
        • +
        • the elements have the same function (in the case of Node);
        • +
        • the grid position of the elements themselves are the same;
        • +
        • the grid position of all equivalent connections are the same;
        • +
        +

        + The relationship computed by this method is: +
          +
        • symmetric: a.copyOf(b) == b.copyOf(a);
        • +
        • not reflexive: a.copyOf(a) returns false;
        • +
        • not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c.
        • +
        +
        +
        Specified by:
        +
        copyOf in interface MutableElement
        +
        Parameters:
        +
        element - the mutable element to compare to.
        +
        Returns:
        +
        true if element is a copy of this element.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public java.lang.Object getValue()
        +
        Description copied from interface: Connection
        +
        Compute and return the value of this connection. In + the case of inputs no computation is necessary, this + simply returns the value the input is set to. In the + case of nodes, the value is computed based on the + node's function and the value of its own connections.
        +
        +
        Specified by:
        +
        getValue in interface Connection
        +
        Returns:
        +
        the connection's value.
        +
        +
      • +
      + + + +
        +
      • +

        setConnection

        +
        public void setConnection(int index,
        +                          Connection newConnection)
        +
        Description copied from interface: MutableElement
        +
        This method sets the indexed connection to the specified new connection. + Implementing classes may choose to ignore the given index (such as in the + case of outputs, which only have one connection).
        +
        +
        Specified by:
        +
        setConnection in interface MutableElement
        +
        Parameters:
        +
        index - the connection index to set.
        +
        newConnection - the chromosome element to connect to.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Output.html b/doc/jcgp/backend/population/Output.html new file mode 100644 index 0000000..38033e2 --- /dev/null +++ b/doc/jcgp/backend/population/Output.html @@ -0,0 +1,447 @@ + + + + + +Output + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Output

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    MutableElement
    +
    +
    +
    +
    public class Output
    +extends java.lang.Object
    +implements MutableElement
    +
    This is a chromosome output. Outputs are a special + type of mutable element with a single connection. It + returns the value of its single connection, but it + may not be connected to - it terminates a chromosome + active connection path.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Output(Chromosome chromosome, + int index) +
      Makes a new instance of Output with the + specified arguments.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcalculate() 
      booleancopyOf(MutableElement m) +
      Asserts if the specified element is a copy of the elements + this is called on.
      + This method returns true if and only if: + + the elements being compared are not the same instance; + the connections of the compared elements are not the same instance; + the elements have the same function (in the case of Node); + the grid position of the elements themselves are the same; + the grid position of all equivalent connections are the same; + +

      + The relationship computed by this method is: + + symmetric: a.copyOf(b) == b.copyOf(a); + not reflexive: a.copyOf(a) returns false; + not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c. +
      +
      voidgetActiveNodes(java.util.ArrayList<Node> activeNodes) 
      intgetIndex() 
      ConnectiongetSource() 
      voidsetConnection(int index, + Connection newConnection) +
      When mutating an output, the index parameter + is simply ignored and the output source is + set.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Output

        +
        public Output(Chromosome chromosome,
        +              int index)
        +
        Makes a new instance of Output with the + specified arguments.
        +
        +
        Parameters:
        +
        chromosome - the chromosome this output belongs to.
        +
        index - the output index.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        calculate

        +
        public java.lang.Object calculate()
        +
        +
        Returns:
        +
        the value of the output's source.
        +
        +
      • +
      + + + +
        +
      • +

        getIndex

        +
        public int getIndex()
        +
      • +
      + + + +
        +
      • +

        getSource

        +
        public Connection getSource()
        +
      • +
      + + + +
        +
      • +

        getActiveNodes

        +
        public void getActiveNodes(java.util.ArrayList<Node> activeNodes)
        +
      • +
      + + + + + + + +
        +
      • +

        copyOf

        +
        public boolean copyOf(MutableElement m)
        +
        Description copied from interface: MutableElement
        +
        Asserts if the specified element is a copy of the elements + this is called on.
        + This method returns true if and only if: +
          +
        • the elements being compared are not the same instance;
        • +
        • the connections of the compared elements are not the same instance;
        • +
        • the elements have the same function (in the case of Node);
        • +
        • the grid position of the elements themselves are the same;
        • +
        • the grid position of all equivalent connections are the same;
        • +
        +

        + The relationship computed by this method is: +
          +
        • symmetric: a.copyOf(b) == b.copyOf(a);
        • +
        • not reflexive: a.copyOf(a) returns false;
        • +
        • not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c.
        • +
        +
        +
        Specified by:
        +
        copyOf in interface MutableElement
        +
        Parameters:
        +
        m - the mutable element to compare to.
        +
        Returns:
        +
        true if element is a copy of this element.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/Population.html b/doc/jcgp/backend/population/Population.html new file mode 100644 index 0000000..b28fd28 --- /dev/null +++ b/doc/jcgp/backend/population/Population.html @@ -0,0 +1,411 @@ + + + + + +Population + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.population
+

Class Population

+
+
+ +
+
    +
  • +
    +
    +
    public class Population
    +extends java.lang.Object
    +
    This class primarily holds a collection of chromosomes. In addition, + it provides a few utility methods for manipulating and copying + chromosomes, useful for evolutionary strategies. +

    + copyChromosome() is used to create copies of chromosomes, + though it is also possible to create a new instance of population + directly from a seed chromosome using the right constructor. +

    + For convenience, a random chromosome can be retrieved using + getRandomChromosome(), which is guaranteed to use the + experiment's specified seed. If an entirely random population + is needed, reinitialise() should be used to randomise + all chromosomes without creating a new instance of Population.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      Population(Chromosome parent, + Resources resources) +
      Initialise a population of copies of the given chromosome.
      +
      Population(Resources resources) +
      Initialise a random population according to the parameters specified + in the resources.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidcopyChromosome(int source, + int target) +
      Copy a chromosome into a different position.
      +
      Chromosomeget(int index) +
      Returns the indexed chromosome.
      +
      ChromosomegetRandomChromosome() 
      voidreinitialise() +
      Loop through all chromosomes and randomise all connections + and functions.
      +
      voidsort() +
      Sorts the population in ascending order of fitness quality.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Population

        +
        public Population(Resources resources)
        +
        Initialise a random population according to the parameters specified + in the resources.
        +
        +
        Parameters:
        +
        resources - the experiment's resources.
        +
        +
      • +
      + + + +
        +
      • +

        Population

        +
        public Population(Chromosome parent,
        +                  Resources resources)
        +
        Initialise a population of copies of the given chromosome.
        +
        +
        Parameters:
        +
        parent - the chromosome to use as a model.
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public Chromosome get(int index)
        +
        Returns the indexed chromosome.
        +
        +
        Parameters:
        +
        index - the chromosome to return.
        +
        Returns:
        +
        the indexed chromosome.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomChromosome

        +
        public Chromosome getRandomChromosome()
        +
        +
        Returns:
        +
        a random chromosome from this population.
        +
        +
      • +
      + + + +
        +
      • +

        copyChromosome

        +
        public void copyChromosome(int source,
        +                           int target)
        +
        Copy a chromosome into a different position. + After this returns, the target chromosome has + identical connections and functions to the source + one, though they are separate instances. + + This method does nothing if source == target.
        +
        +
        Parameters:
        +
        source - the chromosome to copy from.
        +
        target - the chromosome to copy to.
        +
        +
      • +
      + + + +
        +
      • +

        reinitialise

        +
        public void reinitialise()
        +
        Loop through all chromosomes and randomise all connections + and functions.
        +
      • +
      + + + +
        +
      • +

        sort

        +
        public void sort()
        +
        Sorts the population in ascending order of fitness quality. + What this means is that the best fitness chromosome will be + in the last position, even though it might have the lowest + fitness value. Fitness orientation as specified in the resources + is respected.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Chromosome.html b/doc/jcgp/backend/population/class-use/Chromosome.html new file mode 100644 index 0000000..4245432 --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Chromosome.html @@ -0,0 +1,340 @@ + + + + + +Uses of Class jcgp.backend.population.Chromosome + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Chromosome

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Connection.html b/doc/jcgp/backend/population/class-use/Connection.html new file mode 100644 index 0000000..72f2fb4 --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Connection.html @@ -0,0 +1,301 @@ + + + + + +Uses of Interface jcgp.backend.population.Connection + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
jcgp.backend.population.Connection

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Gene.html b/doc/jcgp/backend/population/class-use/Gene.html new file mode 100644 index 0000000..d042783 --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Gene.html @@ -0,0 +1,194 @@ + + + + + +Uses of Class jcgp.backend.population.Gene + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Gene

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Input.html b/doc/jcgp/backend/population/class-use/Input.html new file mode 100644 index 0000000..61c38ce --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Input.html @@ -0,0 +1,187 @@ + + + + + +Uses of Class jcgp.backend.population.Input + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Input

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/MutableElement.html b/doc/jcgp/backend/population/class-use/MutableElement.html new file mode 100644 index 0000000..77bf35f --- /dev/null +++ b/doc/jcgp/backend/population/class-use/MutableElement.html @@ -0,0 +1,228 @@ + + + + + +Uses of Interface jcgp.backend.population.MutableElement + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
jcgp.backend.population.MutableElement

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Node.html b/doc/jcgp/backend/population/class-use/Node.html new file mode 100644 index 0000000..6dd76ee --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Node.html @@ -0,0 +1,244 @@ + + + + + +Uses of Class jcgp.backend.population.Node + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Node

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Output.html b/doc/jcgp/backend/population/class-use/Output.html new file mode 100644 index 0000000..19bd12a --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Output.html @@ -0,0 +1,202 @@ + + + + + +Uses of Class jcgp.backend.population.Output + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Output

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/class-use/Population.html b/doc/jcgp/backend/population/class-use/Population.html new file mode 100644 index 0000000..d98d156 --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Population.html @@ -0,0 +1,265 @@ + + + + + +Uses of Class jcgp.backend.population.Population + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.population.Population

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/package-frame.html b/doc/jcgp/backend/population/package-frame.html new file mode 100644 index 0000000..f000a2f --- /dev/null +++ b/doc/jcgp/backend/population/package-frame.html @@ -0,0 +1,29 @@ + + + + + +jcgp.backend.population + + + + + +

jcgp.backend.population

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/jcgp/backend/population/package-summary.html b/doc/jcgp/backend/population/package-summary.html new file mode 100644 index 0000000..ac0ec7b --- /dev/null +++ b/doc/jcgp/backend/population/package-summary.html @@ -0,0 +1,196 @@ + + + + + +jcgp.backend.population + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.population

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/package-tree.html b/doc/jcgp/backend/population/package-tree.html new file mode 100644 index 0000000..d436925 --- /dev/null +++ b/doc/jcgp/backend/population/package-tree.html @@ -0,0 +1,146 @@ + + + + + +jcgp.backend.population Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.population

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/population/package-use.html b/doc/jcgp/backend/population/package-use.html new file mode 100644 index 0000000..0c65c85 --- /dev/null +++ b/doc/jcgp/backend/population/package-use.html @@ -0,0 +1,338 @@ + + + + + +Uses of Package jcgp.backend.population + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.population

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/Console.html b/doc/jcgp/backend/resources/Console.html new file mode 100644 index 0000000..e920f61 --- /dev/null +++ b/doc/jcgp/backend/resources/Console.html @@ -0,0 +1,286 @@ + + + + + +Console + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.resources
+

Interface Console

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    GUIConsole
    +
    +
    +
    +
    public interface Console
    +
    Defines the basic model for a console. +

    + This interface will typically be implemented by a GUI class + and GUI packages such as JavaFX are usually single-threaded. + If the CGP experiment is running on a side thread (which would + be the case so as not to block the entire GUI), updating a GUI + element such as the console from a different thread would lead + to concurrency problems. For this reason, this console is + intended to buffer printed messages and only output them to the + actual GUI control when flush() is called (which is + guaranteed to be done in a thread-safe way by the library).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidflush() +
      Outputs all buffered messages to the console.
      +
      voidprint(java.lang.String s) +
      Prints a string without line break at the end (unless the string + itself specifies one).
      +
      voidprintln(java.lang.String s) +
      Prints a string and automatically adds a line break at the end.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        println

        +
        void println(java.lang.String s)
        +
        Prints a string and automatically adds a line break at the end.
        +
        +
        Parameters:
        +
        s - the string to print.
        +
        +
      • +
      + + + +
        +
      • +

        print

        +
        void print(java.lang.String s)
        +
        Prints a string without line break at the end (unless the string + itself specifies one).
        +
        +
        Parameters:
        +
        s - the string to print.
        +
        +
      • +
      + + + +
        +
      • +

        flush

        +
        void flush()
        +
        Outputs all buffered messages to the console. Only necessary + if concurrent accesses must be avoided.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/ModifiableResources.html b/doc/jcgp/backend/resources/ModifiableResources.html new file mode 100644 index 0000000..c0295f3 --- /dev/null +++ b/doc/jcgp/backend/resources/ModifiableResources.html @@ -0,0 +1,819 @@ + + + + + +ModifiableResources + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.resources
+

Class ModifiableResources

+
+
+ +
+
    +
  • +
    +
    +
    public class ModifiableResources
    +extends Resources
    +
    This subclass of Resources allows modifications to be made. + A read-only cast of this class is passed to modules for safety, + and only classes with access to a JCGP instance may modify + the resources.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ModifiableResources

        +
        public ModifiableResources()
        +
        Creates an instance of this class and initialises + all base parameters to default values. See + createBaseParameters for the exact parameter + initialisation.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setRows

        +
        public void setRows(int rows)
        +
        +
        Parameters:
        +
        rows - the number of rows to set.
        +
        +
      • +
      + + + +
        +
      • +

        setColumns

        +
        public void setColumns(int columns)
        +
        +
        Parameters:
        +
        columns - the number of columns to set.
        +
        +
      • +
      + + + +
        +
      • +

        setInputs

        +
        public void setInputs(int inputs)
        +
        +
        Parameters:
        +
        inputs - the number of inputs to set.
        +
        +
      • +
      + + + +
        +
      • +

        setOutputs

        +
        public void setOutputs(int outputs)
        +
        +
        Parameters:
        +
        outputs - the number of outputs to set.
        +
        +
      • +
      + + + +
        +
      • +

        setPopulationSize

        +
        public void setPopulationSize(int populationSize)
        +
        +
        Parameters:
        +
        populationSize - the population size to set.
        +
        +
      • +
      + + + +
        +
      • +

        setLevelsBack

        +
        public void setLevelsBack(int levelsBack)
        +
        +
        Parameters:
        +
        levelsBack - the levels back to set.
        +
        +
      • +
      + + + +
        +
      • +

        setCurrentGeneration

        +
        public void setCurrentGeneration(int currentGeneration)
        +
        +
        Parameters:
        +
        currentGeneration - the current generation to set.
        +
        +
      • +
      + + + +
        +
      • +

        incrementGeneration

        +
        public void incrementGeneration()
        +
        Adds 1 to the current generation.
        +
      • +
      + + + +
        +
      • +

        setGenerations

        +
        public void setGenerations(int generations)
        +
        +
        Parameters:
        +
        generations - the total generations to set.
        +
        +
      • +
      + + + +
        +
      • +

        setCurrentRun

        +
        public void setCurrentRun(int currentRun)
        +
        +
        Parameters:
        +
        currentRun - the current run to set.
        +
        +
      • +
      + + + +
        +
      • +

        incrementRun

        +
        public void incrementRun()
        +
        Adds 1 to the current generation.
        +
      • +
      + + + +
        +
      • +

        setRuns

        +
        public void setRuns(int runs)
        +
        +
        Parameters:
        +
        runs - the total runs to set.
        +
        +
      • +
      + + + +
        +
      • +

        setArity

        +
        public void setArity(int arity)
        +
        This is called automatically by the experiment when the arity changes.
        +
        +
        Parameters:
        +
        arity - the arity to set.
        +
        +
      • +
      + + + +
        +
      • +

        setSeed

        +
        public void setSeed(int seed)
        +
        +
        Parameters:
        +
        seed - the seed to set.
        +
        +
      • +
      + + + +
        +
      • +

        setReportInterval

        +
        public void setReportInterval(int report)
        +
        +
        Parameters:
        +
        report - the report interval to set.
        +
        +
      • +
      + + + +
        +
      • +

        setFitnessOrientation

        +
        public void setFitnessOrientation(BestFitness newOrientation)
        +
        +
        Parameters:
        +
        newOrientation - the new orientation to set.
        +
        +
      • +
      + + + +
        +
      • +

        getRowsParameter

        +
        public IntegerParameter getRowsParameter()
        +
        +
        Returns:
        +
        the rows parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getColumnsParameter

        +
        public IntegerParameter getColumnsParameter()
        +
        +
        Returns:
        +
        the columns parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getInputsParameter

        +
        public IntegerParameter getInputsParameter()
        +
        +
        Returns:
        +
        the inputs parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getOutputsParameter

        +
        public IntegerParameter getOutputsParameter()
        +
        +
        Returns:
        +
        the outputs parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getPopulationSizeParameter

        +
        public IntegerParameter getPopulationSizeParameter()
        +
        +
        Returns:
        +
        the population size parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getLevelsBackParameter

        +
        public IntegerParameter getLevelsBackParameter()
        +
        +
        Returns:
        +
        the levels back parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getCurrentGenerationParameter

        +
        public IntegerParameter getCurrentGenerationParameter()
        +
        +
        Returns:
        +
        the current generation parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getGenerationsParameter

        +
        public IntegerParameter getGenerationsParameter()
        +
        +
        Returns:
        +
        the total generations parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getCurrentRunParameter

        +
        public IntegerParameter getCurrentRunParameter()
        +
        +
        Returns:
        +
        the current run parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getRunsParameter

        +
        public IntegerParameter getRunsParameter()
        +
        +
        Returns:
        +
        the total runs parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getArityParameter

        +
        public IntegerParameter getArityParameter()
        +
        +
        Returns:
        +
        the arity parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getSeedParameter

        +
        public IntegerParameter getSeedParameter()
        +
        +
        Returns:
        +
        the seed parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getReportIntervalParameter

        +
        public IntegerParameter getReportIntervalParameter()
        +
        +
        Returns:
        +
        the report interval parameter.
        +
        +
      • +
      + + + +
        +
      • +

        setFunctionSet

        +
        public void setFunctionSet(FunctionSet functionSet)
        +
        Update the current function set.
        +
        +
        Parameters:
        +
        functionSet - the new function set.
        +
        +
      • +
      + + + +
        +
      • +

        setConsole

        +
        public void setConsole(Console console)
        +
        This can be set to null if no extra console is desired.
        +
        +
        Parameters:
        +
        console - the extra console for the experiment to use.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/Resources.html b/doc/jcgp/backend/resources/Resources.html new file mode 100644 index 0000000..0f7e40a --- /dev/null +++ b/doc/jcgp/backend/resources/Resources.html @@ -0,0 +1,804 @@ + + + + + +Resources + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.resources
+

Class Resources

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    ModifiableResources
    +
    +
    +
    +
    public class Resources
    +extends java.lang.Object
    +
    Encapsulates all of the resources based on which the program operates. + Each instance of JCGP contains a single instance of Resources. +

    + The experiment's Resources object is passed to modules as the program operates, and + the actual parameter values can be obtained using getter methods. Note that, for code brevity, + this class's getters do not start with the word "get". For instance, to get the number of rows, + one would use rows() instead of getRows() which doesn't exist. + The fitness orientation of the problem being solved can also be retrieved using fitnessOrientation(). + Evolutionary strategies will typically use this to perform selection. +

    + In addition to parameters, this class also offers utility methods. Any necessary random numbers + should be obtained using getRandomInt() and getRandomDouble() as these methods + use a particular Random object guaranteed to generate random numbers based on the seed + parameter. Functions from the selected function set can be obtained through this class as well. + Finally, printing to the console should be done via the resources using the report and print + methods, so that these prints also get sent to the GUI console (if one is present).
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Parameter
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Resources() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intarity() 
      intcolumns() 
      intcurrentGeneration() 
      intcurrentRun() 
      BestFitnessfitnessOrientation() 
      intgenerations() 
      FunctiongetFunction(int index) +
      Gets the indexed function out of the + complete set of functions.
      +
      intgetFunctionIndex(Function function) +
      Returns the index of a specified function.
      +
      FunctionSetgetFunctionSet() 
      doublegetRandomDouble() +
      Gets the next random integer using the experiment's random + number generator.
      +
      doublegetRandomDouble(int limit) +
      Gets the next random double using the experiment's random + number generator.
      +
      FunctiongetRandomFunction() +
      Gets a random allowed function from the problem function set.
      +
      intgetRandomInt(int limit) +
      Gets the next random integer using the experiment's random + number generator.
      +
      intinputs() 
      intlevelsBack() 
      intnodes() 
      intoutputs() 
      intpopulationSize() 
      voidprint(java.lang.String message) +
      Prints a message to the consoles ignoring + report interval.
      +
      voidprintln(java.lang.String message) +
      Prints a message to the consoles ignoring + report interval.
      +
      voidreport(java.lang.String message) +
      Prints a message to the consoles taking into account the + report interval parameter.
      +
      intreportInterval() 
      voidreportln(java.lang.String message) +
      Prints a message to the consoles taking into account the + report interval parameter.
      +
      introws() 
      intruns() 
      intseed() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Resources

        +
        public Resources()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        rows

        +
        public int rows()
        +
        +
        Returns:
        +
        the number of rows.
        +
        +
      • +
      + + + +
        +
      • +

        columns

        +
        public int columns()
        +
        +
        Returns:
        +
        the number of columns.
        +
        +
      • +
      + + + +
        +
      • +

        inputs

        +
        public int inputs()
        +
        +
        Returns:
        +
        the number of inputs.
        +
        +
      • +
      + + + +
        +
      • +

        outputs

        +
        public int outputs()
        +
        +
        Returns:
        +
        the number of outputs.
        +
        +
      • +
      + + + +
        +
      • +

        populationSize

        +
        public int populationSize()
        +
        +
        Returns:
        +
        the population size.
        +
        +
      • +
      + + + +
        +
      • +

        levelsBack

        +
        public int levelsBack()
        +
        +
        Returns:
        +
        the levels back value.
        +
        +
      • +
      + + + +
        +
      • +

        nodes

        +
        public int nodes()
        +
        +
        Returns:
        +
        the total number of nodes.
        +
        +
      • +
      + + + +
        +
      • +

        currentGeneration

        +
        public int currentGeneration()
        +
        +
        Returns:
        +
        the current generation.
        +
        +
      • +
      + + + +
        +
      • +

        generations

        +
        public int generations()
        +
        +
        Returns:
        +
        the total number of generations.
        +
        +
      • +
      + + + +
        +
      • +

        currentRun

        +
        public int currentRun()
        +
        +
        Returns:
        +
        the current run.
        +
        +
      • +
      + + + +
        +
      • +

        runs

        +
        public int runs()
        +
        +
        Returns:
        +
        the total number of runs.
        +
        +
      • +
      + + + +
        +
      • +

        arity

        +
        public int arity()
        +
        +
        Returns:
        +
        the maximum arity out of the function set.
        +
        +
      • +
      + + + +
        +
      • +

        seed

        +
        public int seed()
        +
        +
        Returns:
        +
        the random seed being used.
        +
        +
      • +
      + + + +
        +
      • +

        reportInterval

        +
        public int reportInterval()
        +
        +
        Returns:
        +
        the report interval.
        +
        +
      • +
      + + + +
        +
      • +

        fitnessOrientation

        +
        public BestFitness fitnessOrientation()
        +
        +
        Returns:
        +
        the fitness orientation.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomInt

        +
        public int getRandomInt(int limit)
        +
        Gets the next random integer using the experiment's random + number generator. The integer returned will be between 0 (inclusive) + and limit (exclusive).
        +
        +
        Parameters:
        +
        limit - the limit value.
        +
        Returns:
        +
        a random integer between 0 and limit.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomDouble

        +
        public double getRandomDouble(int limit)
        +
        Gets the next random double using the experiment's random + number generator. The double returned will be between 0 (inclusive) + and limit (exclusive).
        +
        +
        Parameters:
        +
        limit - the limit value.
        +
        Returns:
        +
        a random double between 0 and limit.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomDouble

        +
        public double getRandomDouble()
        +
        Gets the next random integer using the experiment's random + number generator. The integer returned will be between 0 (inclusive) + and 1 (exclusive).
        +
        +
        Returns:
        +
        a random integer between 0 and 1.
        +
        +
      • +
      + + + +
        +
      • +

        getRandomFunction

        +
        public Function getRandomFunction()
        +
        Gets a random allowed function from the problem function set. + This function uses getRandomInt() to choose the random + function.
        +
        +
        Returns:
        +
        a random allowed function.
        +
        +
      • +
      + + + +
        +
      • +

        getFunction

        +
        public Function getFunction(int index)
        +
        Gets the indexed function out of the + complete set of functions.
        +
        +
        Parameters:
        +
        index - the function to return.
        +
        Returns:
        +
        the indexed function.
        +
        +
      • +
      + + + +
        +
      • +

        getFunctionSet

        +
        public FunctionSet getFunctionSet()
        +
        +
        Returns:
        +
        the problem's function set.
        +
        +
      • +
      + + + +
        +
      • +

        getFunctionIndex

        +
        public int getFunctionIndex(Function function)
        +
        Returns the index of a specified function. If the function is not found, + -1 is returned.
        +
        +
        Parameters:
        +
        function - the function with unknown index.
        +
        Returns:
        +
        the index of the function, or -1 if it was not found.
        +
        +
      • +
      + + + +
        +
      • +

        reportln

        +
        public void reportln(java.lang.String message)
        +
        Prints a message to the consoles taking into account the + report interval parameter. If no reports are allowed in + the current generation, this does nothing. +
        + This method automatically appends a line break to the message + being printed.
        +
        +
        Parameters:
        +
        message - the message to print.
        +
        +
      • +
      + + + +
        +
      • +

        report

        +
        public void report(java.lang.String message)
        +
        Prints a message to the consoles taking into account the + report interval parameter. If no reports are allowed in + the current generation, this does nothing. +
        + This method does not append a line break to the message + being printed.
        +
        +
        Parameters:
        +
        message - the message to print.
        +
        +
      • +
      + + + +
        +
      • +

        println

        +
        public void println(java.lang.String message)
        +
        Prints a message to the consoles ignoring + report interval. In other words, messages printed + using this method will always appear (though the + GUI console will still need to be flushed). +
        + This method automatically appends a line break to the message + being printed.
        +
        +
        Parameters:
        +
        message - the message to print.
        +
        +
      • +
      + + + +
        +
      • +

        print

        +
        public void print(java.lang.String message)
        +
        Prints a message to the consoles ignoring + report interval. In other words, messages printed + using this method will always appear (though the + GUI console will still need to be flushed). +
        + This method does not append a line break to the message + being printed.
        +
        +
        Parameters:
        +
        message - the message to print.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/class-use/Console.html b/doc/jcgp/backend/resources/class-use/Console.html new file mode 100644 index 0000000..ec17f31 --- /dev/null +++ b/doc/jcgp/backend/resources/class-use/Console.html @@ -0,0 +1,214 @@ + + + + + +Uses of Interface jcgp.backend.resources.Console + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
jcgp.backend.resources.Console

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/class-use/ModifiableResources.html b/doc/jcgp/backend/resources/class-use/ModifiableResources.html new file mode 100644 index 0000000..e2cdfe5 --- /dev/null +++ b/doc/jcgp/backend/resources/class-use/ModifiableResources.html @@ -0,0 +1,234 @@ + + + + + +Uses of Class jcgp.backend.resources.ModifiableResources + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.resources.ModifiableResources

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/class-use/Resources.html b/doc/jcgp/backend/resources/class-use/Resources.html new file mode 100644 index 0000000..823711d --- /dev/null +++ b/doc/jcgp/backend/resources/class-use/Resources.html @@ -0,0 +1,379 @@ + + + + + +Uses of Class jcgp.backend.resources.Resources + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.resources.Resources

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/package-frame.html b/doc/jcgp/backend/resources/package-frame.html new file mode 100644 index 0000000..7ebf77e --- /dev/null +++ b/doc/jcgp/backend/resources/package-frame.html @@ -0,0 +1,25 @@ + + + + + +jcgp.backend.resources + + + + + +

jcgp.backend.resources

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/jcgp/backend/resources/package-summary.html b/doc/jcgp/backend/resources/package-summary.html new file mode 100644 index 0000000..baef3b5 --- /dev/null +++ b/doc/jcgp/backend/resources/package-summary.html @@ -0,0 +1,167 @@ + + + + + +jcgp.backend.resources + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.resources

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/package-tree.html b/doc/jcgp/backend/resources/package-tree.html new file mode 100644 index 0000000..c3efe01 --- /dev/null +++ b/doc/jcgp/backend/resources/package-tree.html @@ -0,0 +1,145 @@ + + + + + +jcgp.backend.resources Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.resources

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/resources/package-use.html b/doc/jcgp/backend/resources/package-use.html new file mode 100644 index 0000000..f9efaf7 --- /dev/null +++ b/doc/jcgp/backend/resources/package-use.html @@ -0,0 +1,326 @@ + + + + + +Uses of Package jcgp.backend.resources + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.resources

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/RunEntry.html b/doc/jcgp/backend/statistics/RunEntry.html new file mode 100644 index 0000000..102e331 --- /dev/null +++ b/doc/jcgp/backend/statistics/RunEntry.html @@ -0,0 +1,354 @@ + + + + + +RunEntry + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.statistics
+

Class RunEntry

+
+
+ +
+
    +
  • +
    +
    +
    public class RunEntry
    +extends java.lang.Object
    +
    This class encapsulates the data contained in a log entry. +

    + Once constructed, data can only be retrieved. Note that + the generation argument in the constructor (and consequently + the value returned by getGeneration() refer to the + last generation when improvement occurred.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    StatisticsLogger
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RunEntry(int generation, + double fitness, + int active, + boolean successful) +
      Creates a new run entry for a logger.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RunEntry

        +
        public RunEntry(int generation,
        +                double fitness,
        +                int active,
        +                boolean successful)
        +
        Creates a new run entry for a logger.
        +
        +
        Parameters:
        +
        generation - the generation when fitness improvement last occurred.
        +
        fitness - the best fitness achieved.
        +
        active - the number of active nodes in the best solution found.
        +
        successful - whether or not the run found a perfect solution.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getGeneration

        +
        public int getGeneration()
        +
        +
        Returns:
        +
        the generation when improvement last occurred.
        +
        +
      • +
      + + + +
        +
      • +

        getFitness

        +
        public double getFitness()
        +
        +
        Returns:
        +
        the best fitness achieved during the run.
        +
        +
      • +
      + + + +
        +
      • +

        isSuccessful

        +
        public boolean isSuccessful()
        +
        +
        Returns:
        +
        true if the run was successful.
        +
        +
      • +
      + + + +
        +
      • +

        getActiveNodes

        +
        public int getActiveNodes()
        +
        +
        Returns:
        +
        the number of active nodes in the best solution found.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/StatisticsLogger.html b/doc/jcgp/backend/statistics/StatisticsLogger.html new file mode 100644 index 0000000..4c80b52 --- /dev/null +++ b/doc/jcgp/backend/statistics/StatisticsLogger.html @@ -0,0 +1,562 @@ + + + + + +StatisticsLogger + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.statistics
+

Class StatisticsLogger

+
+
+ +
+
    +
  • +
    +
    +
    public class StatisticsLogger
    +extends java.lang.Object
    +
    This is a utility class for logging experiment statistics when doing multiple runs. +

    + Information about each run is added via the logRun() method. The many getters + can be used to obtain statistics about the logged runs, such as success rate and average + fitness. +

    + JCGP uses this class to perform its logging and print out experiment data at the end.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StatisticsLogger() +
      Create a new statistics logger, use this when resetting is necessary.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      doublegetAverageActiveNodes() +
      Averages the number of active nodes in the + best chromosomes obtained across all runs.
      +
      doublegetAverageActiveNodesStdDev() +
      Calculates the standard deviation of + the number of active nodes in the best solution + in each run.
      +
      doublegetAverageFitness() +
      Averages the best fitness obtained in each run.
      +
      doublegetAverageFitnessStdDev() +
      Calculates the standard deviation of + the best fitness obtained in each run.
      +
      doublegetAverageGenerations() +
      Calculates the average generation out of all runs.
      +
      doublegetAverageGenerationsStdDev() +
      Calculates the standard deviation of + the average number of generations in + each run.
      +
      doublegetAverageSuccessfulGenerations() +
      Calculates the average generation out of successful runs only.
      +
      doublegetAverageSuccessfulGenerationsStdDev() +
      Calculates the standard deviation of + the average number of generations in + each run where a perfect solution was found.
      +
      doublegetHighestFitness() 
      doublegetLowestFitness() 
      intgetSuccessfulRuns() 
      doublegetSuccessRate() +
      Calculates the ratio of successful runs (runs where + a perfect solution was found) to total number of runs.
      +
      voidlogRun(int generation, + double fitness, + int active, + boolean successful) +
      Log a new run.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StatisticsLogger

        +
        public StatisticsLogger()
        +
        Create a new statistics logger, use this when resetting is necessary.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        logRun

        +
        public void logRun(int generation,
        +                   double fitness,
        +                   int active,
        +                   boolean successful)
        +
        Log a new run. Calling any of the statistics getters will + now take this logged run into account as well as all previously + logged runs.
        +
        +
        Parameters:
        +
        generation - the last generation when improvement occurred.
        +
        fitness - the best fitness achieved in the run.
        +
        active - the number of active nodes in the best chromosome found.
        +
        successful - true if a perfect solution was found, false if otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageFitness

        +
        public double getAverageFitness()
        +
        Averages the best fitness obtained in each run.
        +
        +
        Returns:
        +
        the average fitness.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageFitnessStdDev

        +
        public double getAverageFitnessStdDev()
        +
        Calculates the standard deviation of + the best fitness obtained in each run.
        +
        +
        Returns:
        +
        the standard deviation of average fitnesses.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageActiveNodes

        +
        public double getAverageActiveNodes()
        +
        Averages the number of active nodes in the + best chromosomes obtained across all runs.
        +
        +
        Returns:
        +
        the average number of active nodes.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageActiveNodesStdDev

        +
        public double getAverageActiveNodesStdDev()
        +
        Calculates the standard deviation of + the number of active nodes in the best solution + in each run.
        +
        +
        Returns:
        +
        the standard deviation of active node counts.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageGenerations

        +
        public double getAverageGenerations()
        +
        Calculates the average generation out of all runs. + The generation value in each run corresponds to the + last generation in which improvement happened. +

        + Note that this method includes runs where no perfect + solution was found. For the average number of generations + for perfect solutions only, use getAverageSuccessfulGenerations.
        +
        +
        Returns:
        +
        the average number of generations.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageGenerationsStdDev

        +
        public double getAverageGenerationsStdDev()
        +
        Calculates the standard deviation of + the average number of generations in + each run.
        +
        +
        Returns:
        +
        the standard deviation of the number of generations.
        +
        +
      • +
      + + + +
        +
      • +

        getHighestFitness

        +
        public double getHighestFitness()
        +
        +
        Returns:
        +
        the highest fitness across all runs.
        +
        +
      • +
      + + + +
        +
      • +

        getLowestFitness

        +
        public double getLowestFitness()
        +
        +
        Returns:
        +
        the lowest fitness across all runs.
        +
        +
      • +
      + + + +
        +
      • +

        getSuccessfulRuns

        +
        public int getSuccessfulRuns()
        +
        +
        Returns:
        +
        the number of runs in which a perfect solution was found.
        +
        +
      • +
      + + + +
        +
      • +

        getSuccessRate

        +
        public double getSuccessRate()
        +
        Calculates the ratio of successful runs (runs where + a perfect solution was found) to total number of runs. + A double-precision value between 0 and 1 is returned, + where 0 means 0% success rate and 1 means 100% success rate.
        +
        +
        Returns:
        +
        the success rate across all runs.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageSuccessfulGenerations

        +
        public double getAverageSuccessfulGenerations()
        +
        Calculates the average generation out of successful runs only. + The generation value in each successful run corresponds to the + generation in which the perfect solution was found.
        +
        +
        Returns:
        +
        the average number of generations for perfect solutions.
        +
        +
      • +
      + + + +
        +
      • +

        getAverageSuccessfulGenerationsStdDev

        +
        public double getAverageSuccessfulGenerationsStdDev()
        +
        Calculates the standard deviation of + the average number of generations in + each run where a perfect solution was found.
        +
        +
        Returns:
        +
        the standard deviation of the number of generations in successful runs.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/class-use/RunEntry.html b/doc/jcgp/backend/statistics/class-use/RunEntry.html new file mode 100644 index 0000000..4aefb02 --- /dev/null +++ b/doc/jcgp/backend/statistics/class-use/RunEntry.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.statistics.RunEntry + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.statistics.RunEntry

+
+
No usage of jcgp.backend.statistics.RunEntry
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/class-use/StatisticsLogger.html b/doc/jcgp/backend/statistics/class-use/StatisticsLogger.html new file mode 100644 index 0000000..b441141 --- /dev/null +++ b/doc/jcgp/backend/statistics/class-use/StatisticsLogger.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class jcgp.backend.statistics.StatisticsLogger + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
jcgp.backend.statistics.StatisticsLogger

+
+
No usage of jcgp.backend.statistics.StatisticsLogger
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/package-frame.html b/doc/jcgp/backend/statistics/package-frame.html new file mode 100644 index 0000000..1bcde50 --- /dev/null +++ b/doc/jcgp/backend/statistics/package-frame.html @@ -0,0 +1,21 @@ + + + + + +jcgp.backend.statistics + + + + + +

jcgp.backend.statistics

+
+

Classes

+ +
+ + diff --git a/doc/jcgp/backend/statistics/package-summary.html b/doc/jcgp/backend/statistics/package-summary.html new file mode 100644 index 0000000..55579f8 --- /dev/null +++ b/doc/jcgp/backend/statistics/package-summary.html @@ -0,0 +1,150 @@ + + + + + +jcgp.backend.statistics + + + + + + + + +
+ + + + + + + +
+ + +
+

Package jcgp.backend.statistics

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/package-tree.html b/doc/jcgp/backend/statistics/package-tree.html new file mode 100644 index 0000000..1317c96 --- /dev/null +++ b/doc/jcgp/backend/statistics/package-tree.html @@ -0,0 +1,138 @@ + + + + + +jcgp.backend.statistics Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package jcgp.backend.statistics

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/doc/jcgp/backend/statistics/package-use.html b/doc/jcgp/backend/statistics/package-use.html new file mode 100644 index 0000000..26ece29 --- /dev/null +++ b/doc/jcgp/backend/statistics/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package jcgp.backend.statistics + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
jcgp.backend.statistics

+
+
No usage of jcgp.backend.statistics
+ +
+ + + + + + + +
+ + + + -- cgit v1.2.3