yawn.optim.genetic
Class GeneticParameterFitterConfig

java.lang.Object
  extended by yawn.config.ConfigElement
      extended by yawn.config.NeuralNetworkConfig
          extended by yawn.optim.genetic.GeneticParameterFitterConfig

public class GeneticParameterFitterConfig
extends NeuralNetworkConfig

This is yawn.optim.genetic.GeneticParameterFitterConfig, part of the yawn project.
$Id: GeneticParameterFitterConfig.java,v 1.1 2005/04/05 16:30:43 supermarti Exp $

Version:
$Revision: 1.2 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Field Summary
protected  int maxGenerations
           
protected  NeuralNetworkConfig modeltoBeFittedConfig
           
protected  int populationSize
           
protected  boolean preserveFittestIndividual
           
 
Fields inherited from class yawn.config.NeuralNetworkConfig
environment
 
Constructor Summary
GeneticParameterFitterConfig()
           
 
Method Summary
 java.lang.Class getBindedNetworkClass()
           
 int getMaxGenerations()
           
 NeuralNetworkConfig getModeltoBeFittedConfig()
           
 int getPopulationSize()
           
 boolean getPreserveFittestIndividual()
           
protected  void internalValidate()
           
 boolean isPreserveFittestIndividual()
           
 void setEnvironment(Environment environment)
           
 void setMaxGenerations(int maxGenerations)
           
 void setModeltoBeFittedConfig(NeuralNetworkConfig fittedModelConfig)
           
 void setPopulationSize(int populationSize)
           
 void setPreserveFittestIndividual(boolean preserveFittestIndividual)
           
 
Methods inherited from class yawn.config.NeuralNetworkConfig
configuredNetworkFactory, environmentValidate, getEnvironment, setBindedNetworkClass, validate
 
Methods inherited from class yawn.config.ConfigElement
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxGenerations

protected int maxGenerations

modeltoBeFittedConfig

protected NeuralNetworkConfig modeltoBeFittedConfig

populationSize

protected int populationSize

preserveFittestIndividual

protected boolean preserveFittestIndividual
Constructor Detail

GeneticParameterFitterConfig

public GeneticParameterFitterConfig()
Method Detail

getBindedNetworkClass

public java.lang.Class getBindedNetworkClass()
Specified by:
getBindedNetworkClass in class NeuralNetworkConfig
See Also:
NeuralNetworkConfig.getBindedNetworkClass()

getMaxGenerations

public int getMaxGenerations()
Returns:
Returns the maxGenerations.

getModeltoBeFittedConfig

public NeuralNetworkConfig getModeltoBeFittedConfig()
Returns:
Returns the modeltoBeFittedConfig.

getPopulationSize

public int getPopulationSize()
Returns:
Returns the populationSize.

getPreserveFittestIndividual

public boolean getPreserveFittestIndividual()
Returns:
Returns the preserveFittestIndividual.

internalValidate

protected void internalValidate()
                         throws ValidationException
Specified by:
internalValidate in class NeuralNetworkConfig
Throws:
ValidationException

isPreserveFittestIndividual

public boolean isPreserveFittestIndividual()
Returns:
Returns the preserveFittestIndividual.

setMaxGenerations

public void setMaxGenerations(int maxGenerations)
Parameters:
maxGenerations - The maxGenerations to set.

setModeltoBeFittedConfig

public void setModeltoBeFittedConfig(NeuralNetworkConfig fittedModelConfig)
Parameters:
modeltoBeFittedConfig - The modeltoBeFittedConfig to set.

setPopulationSize

public void setPopulationSize(int populationSize)
Parameters:
populationSize - The populationSize to set.

setPreserveFittestIndividual

public void setPreserveFittestIndividual(boolean preserveFittestIndividual)
Parameters:
preserveFittestIndividual - The preserveFittestIndividual to set.

setEnvironment

public void setEnvironment(Environment environment)
Overrides:
setEnvironment in class NeuralNetworkConfig


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.