gpalta.core
Class Config

java.lang.Object
  extended by gpalta.core.Config
All Implemented Interfaces:
java.io.Serializable

public class Config
extends java.lang.Object
implements java.io.Serializable

Holds the GP parameters. See Config.txt for descriptions

See Also:
Serialized Form

Field Summary
 double constLowLimit
           
 double constUpLimit
           
 java.lang.String fitness
           
 int initialMinDepth
           
static java.lang.String logFileName
           
 int maxCrossoverTries
           
 int maxDepth
           
 int nClasses
           
 int nDaysToRun
           
 int nGenerations
           
 java.lang.String nodeConfigFileName
           
 boolean nonInteractive
           
 int nTrees
           
 int populationSize
           
 double probGrowBuild
           
 java.lang.String rankingType
           
 boolean rememberLastEval
           
 java.lang.String saveFileName
           
 java.lang.String selectionMethod
           
 double sizePenalization
           
 double stopFitness
           
 double SUSPointerDistance
           
 int tournamentSize
           
 double upLimitProbCrossOver
           
 double upLimitProbMutation
           
 double upLimitProbSelectNonTerminal
           
 double upLimitProbSelectRoot
           
 double upLimitProbSelectTerminal
           
 boolean useMultiTree
           
 boolean useSoftPertenence
           
 boolean useVect
           
 
Constructor Summary
Config(java.lang.String fileName)
          Reads config from a property file.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

saveFileName

public java.lang.String saveFileName

nodeConfigFileName

public java.lang.String nodeConfigFileName

logFileName

public static java.lang.String logFileName

populationSize

public int populationSize

nGenerations

public int nGenerations

maxDepth

public int maxDepth

initialMinDepth

public int initialMinDepth

upLimitProbCrossOver

public double upLimitProbCrossOver

upLimitProbMutation

public double upLimitProbMutation

constLowLimit

public double constLowLimit

constUpLimit

public double constUpLimit

maxCrossoverTries

public int maxCrossoverTries

upLimitProbSelectTerminal

public double upLimitProbSelectTerminal

upLimitProbSelectNonTerminal

public double upLimitProbSelectNonTerminal

upLimitProbSelectRoot

public double upLimitProbSelectRoot

probGrowBuild

public double probGrowBuild

selectionMethod

public java.lang.String selectionMethod

tournamentSize

public int tournamentSize

SUSPointerDistance

public double SUSPointerDistance

rankingType

public java.lang.String rankingType

fitness

public java.lang.String fitness

stopFitness

public double stopFitness

sizePenalization

public double sizePenalization

nClasses

public int nClasses

useMultiTree

public boolean useMultiTree

useSoftPertenence

public boolean useSoftPertenence

nTrees

public int nTrees

useVect

public boolean useVect

rememberLastEval

public boolean rememberLastEval

nonInteractive

public boolean nonInteractive

nDaysToRun

public int nDaysToRun
Constructor Detail

Config

public Config(java.lang.String fileName)
Reads config from a property file. The file must contain a value for all the fields in the Config class

Parameters:
fileName - The name of the config file