| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>org.apache.commons.math3.genetics (Apache Commons Math 3.3 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.commons.math3.genetics (Apache Commons Math 3.3 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/commons/math3/fraction/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/commons/math3/geometry/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/commons/math3/genetics/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.commons.math3.genetics</h1> |
| <div class="docSummary"> |
| <div class="block">This package provides Genetic Algorithms components and implementations.</div> |
| </div> |
| <p>See: <a href="#package_description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/CrossoverPolicy.html" title="interface in org.apache.commons.math3.genetics">CrossoverPolicy</a></td> |
| <td class="colLast"> |
| <div class="block">Policy used to create a pair of new chromosomes by performing a crossover |
| operation on a source pair of chromosomes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/Fitness.html" title="interface in org.apache.commons.math3.genetics">Fitness</a></td> |
| <td class="colLast"> |
| <div class="block">Fitness of a chromosome.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/MutationPolicy.html" title="interface in org.apache.commons.math3.genetics">MutationPolicy</a></td> |
| <td class="colLast"> |
| <div class="block">Algorithm used to mutate a chromosome.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/PermutationChromosome.html" title="interface in org.apache.commons.math3.genetics">PermutationChromosome</a><T></td> |
| <td class="colLast"> |
| <div class="block">Interface indicating that the chromosome represents a permutation of objects.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/Population.html" title="interface in org.apache.commons.math3.genetics">Population</a></td> |
| <td class="colLast"> |
| <div class="block">A collection of chromosomes that facilitates generational evolution.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/SelectionPolicy.html" title="interface in org.apache.commons.math3.genetics">SelectionPolicy</a></td> |
| <td class="colLast"> |
| <div class="block">Algorithm used to select a chromosome pair from a population.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/StoppingCondition.html" title="interface in org.apache.commons.math3.genetics">StoppingCondition</a></td> |
| <td class="colLast"> |
| <div class="block">Algorithm used to determine when to stop evolution.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/AbstractListChromosome.html" title="class in org.apache.commons.math3.genetics">AbstractListChromosome</a><T></td> |
| <td class="colLast"> |
| <div class="block">Chromosome represented by an immutable list of a fixed length.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/BinaryChromosome.html" title="class in org.apache.commons.math3.genetics">BinaryChromosome</a></td> |
| <td class="colLast"> |
| <div class="block">Chromosome represented by a vector of 0s and 1s.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/BinaryMutation.html" title="class in org.apache.commons.math3.genetics">BinaryMutation</a></td> |
| <td class="colLast"> |
| <div class="block">Mutation for <a href="../../../../../org/apache/commons/math3/genetics/BinaryChromosome.html" title="class in org.apache.commons.math3.genetics"><code>BinaryChromosome</code></a>s.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/Chromosome.html" title="class in org.apache.commons.math3.genetics">Chromosome</a></td> |
| <td class="colLast"> |
| <div class="block">Individual in a population.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/ChromosomePair.html" title="class in org.apache.commons.math3.genetics">ChromosomePair</a></td> |
| <td class="colLast"> |
| <div class="block">A pair of <a href="../../../../../org/apache/commons/math3/genetics/Chromosome.html" title="class in org.apache.commons.math3.genetics"><code>Chromosome</code></a> objects.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/CycleCrossover.html" title="class in org.apache.commons.math3.genetics">CycleCrossover</a><T></td> |
| <td class="colLast"> |
| <div class="block">Cycle Crossover [CX] builds offspring from <b>ordered</b> chromosomes by identifying cycles |
| between two parent chromosomes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/ElitisticListPopulation.html" title="class in org.apache.commons.math3.genetics">ElitisticListPopulation</a></td> |
| <td class="colLast"> |
| <div class="block">Population of chromosomes which uses elitism (certain percentage of the best |
| chromosomes is directly copied to the next generation).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/FixedElapsedTime.html" title="class in org.apache.commons.math3.genetics">FixedElapsedTime</a></td> |
| <td class="colLast"> |
| <div class="block">Stops after a fixed amount of time has elapsed.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/FixedGenerationCount.html" title="class in org.apache.commons.math3.genetics">FixedGenerationCount</a></td> |
| <td class="colLast"> |
| <div class="block">Stops after a fixed number of generations.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/GeneticAlgorithm.html" title="class in org.apache.commons.math3.genetics">GeneticAlgorithm</a></td> |
| <td class="colLast"> |
| <div class="block">Implementation of a genetic algorithm.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/ListPopulation.html" title="class in org.apache.commons.math3.genetics">ListPopulation</a></td> |
| <td class="colLast"> |
| <div class="block">Population of chromosomes represented by a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/NPointCrossover.html" title="class in org.apache.commons.math3.genetics">NPointCrossover</a><T></td> |
| <td class="colLast"> |
| <div class="block">N-point crossover policy.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/OnePointCrossover.html" title="class in org.apache.commons.math3.genetics">OnePointCrossover</a><T></td> |
| <td class="colLast"> |
| <div class="block">One point crossover policy.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/OrderedCrossover.html" title="class in org.apache.commons.math3.genetics">OrderedCrossover</a><T></td> |
| <td class="colLast"> |
| <div class="block">Order 1 Crossover [OX1] builds offspring from <b>ordered</b> chromosomes by copying a |
| consecutive slice from one parent, and filling up the remaining genes from the other |
| parent as they appear.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/RandomKey.html" title="class in org.apache.commons.math3.genetics">RandomKey</a><T></td> |
| <td class="colLast"> |
| <div class="block">Random Key chromosome is used for permutation representation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/RandomKeyMutation.html" title="class in org.apache.commons.math3.genetics">RandomKeyMutation</a></td> |
| <td class="colLast"> |
| <div class="block">Mutation operator for <a href="../../../../../org/apache/commons/math3/genetics/RandomKey.html" title="class in org.apache.commons.math3.genetics"><code>RandomKey</code></a>s.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/TournamentSelection.html" title="class in org.apache.commons.math3.genetics">TournamentSelection</a></td> |
| <td class="colLast"> |
| <div class="block">Tournament selection scheme.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/UniformCrossover.html" title="class in org.apache.commons.math3.genetics">UniformCrossover</a><T></td> |
| <td class="colLast"> |
| <div class="block">Perform Uniform Crossover [UX] on the specified chromosomes.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> |
| <caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Exception</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/commons/math3/genetics/InvalidRepresentationException.html" title="class in org.apache.commons.math3.genetics">InvalidRepresentationException</a></td> |
| <td class="colLast"> |
| <div class="block">Exception indicating that the representation of a chromosome is not valid.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package_description"> |
| <!-- --> |
| </a> |
| <h2 title="Package org.apache.commons.math3.genetics Description">Package org.apache.commons.math3.genetics Description</h2> |
| <div class="block">This package provides Genetic Algorithms components and implementations.</div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/commons/math3/fraction/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/commons/math3/geometry/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/commons/math3/genetics/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2003–2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |