org.jaga.util
Class DefaultParameterSet
java.lang.Object
org.jaga.util.DefaultParameterSet
- All Implemented Interfaces:
- GAParameterSet
- public class DefaultParameterSet
- extends java.lang.Object
- implements GAParameterSet
TODO: Complete these comments.
Project: JAGA - Java API for Genetic Algorithms.
Company: University College London and JAGA.Org
(http://www.jaga.org).
Copyright: (c) 2004 by G. Paperin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, ONLY if you include a note of the original
author(s) in any redistributed/modified copy.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
or see http://www.gnu.org/licenses/gpl.html
- Version:
- JAGA public release 1.0 beta
- Author:
- Greg Paperin (greg@jaga.org)
|
Field Summary |
private java.util.HashMap |
params
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
params
private java.util.HashMap params
DefaultParameterSet
public DefaultParameterSet()
toString
public java.lang.String toString()
- Specified by:
toString in interface GAParameterSet- Overrides:
toString in class java.lang.Object
setDefaultvalues
public void setDefaultvalues()
fetchParameter
protected java.lang.Object fetchParameter(java.lang.String paramName)
getIndividualsFactory
public IndividualsFactory getIndividualsFactory()
- Specified by:
getIndividualsFactory in interface GAParameterSet
setIndividualsFactory
public void setIndividualsFactory(IndividualsFactory val)
- Specified by:
setIndividualsFactory in interface GAParameterSet
getPopulationSize
public int getPopulationSize()
- Specified by:
getPopulationSize in interface GAParameterSet
setPopulationSize
public void setPopulationSize(int val)
- Specified by:
setPopulationSize in interface GAParameterSet
getMaxGenerationNumber
public int getMaxGenerationNumber()
- Specified by:
getMaxGenerationNumber in interface GAParameterSet
setMaxGenerationNumber
public void setMaxGenerationNumber(int val)
- Specified by:
setMaxGenerationNumber in interface GAParameterSet
getReproductionAlgorithm
public ReproductionAlgorithm getReproductionAlgorithm()
- Specified by:
getReproductionAlgorithm in interface GAParameterSet
setReproductionAlgorithm
public void setReproductionAlgorithm(ReproductionAlgorithm val)
- Specified by:
setReproductionAlgorithm in interface GAParameterSet
getSelectionAlgorithm
public SelectionAlgorithm getSelectionAlgorithm()
- Specified by:
getSelectionAlgorithm in interface GAParameterSet
setSelectionAlgorithm
public void setSelectionAlgorithm(SelectionAlgorithm val)
- Specified by:
setSelectionAlgorithm in interface GAParameterSet
getFitnessEvaluationAlgorithm
public FitnessEvaluationAlgorithm getFitnessEvaluationAlgorithm()
- Specified by:
getFitnessEvaluationAlgorithm in interface GAParameterSet
setFitnessEvaluationAlgorithm
public void setFitnessEvaluationAlgorithm(FitnessEvaluationAlgorithm val)
- Specified by:
setFitnessEvaluationAlgorithm in interface GAParameterSet
getMaxBadReproductionAttempts
public int getMaxBadReproductionAttempts()
- Specified by:
getMaxBadReproductionAttempts in interface GAParameterSet
setMaxBadReproductionAttempts
public void setMaxBadReproductionAttempts(int val)
- Specified by:
setMaxBadReproductionAttempts in interface GAParameterSet
getRandomGenerator
public RandomGenerator getRandomGenerator()
- Specified by:
getRandomGenerator in interface GAParameterSet
setRandomGenerator
public void setRandomGenerator(RandomGenerator val)
- Specified by:
setRandomGenerator in interface GAParameterSet
getUseMainAlgorithmHooks
public boolean getUseMainAlgorithmHooks()
- Specified by:
getUseMainAlgorithmHooks in interface GAParameterSet
setUseMainAlgorithmHooks
public void setUseMainAlgorithmHooks(boolean val)
- Specified by:
setUseMainAlgorithmHooks in interface GAParameterSet
Go to JAGA Homepage