Serialized Form


Package ec

Class ec.Breeder extends java.lang.Object implements Serializable

Class ec.BreedingPipeline extends BreedingSource implements Serializable

Serialized Fields

mybase

Parameter mybase
My parameter base -- I keep it around so I can print some messages that are useful with it (not deep cloned)


likelihood

float likelihood

sources

BreedingSource[] sources
Array of sources feeding the pipeline

Class ec.BreedingSource extends java.lang.Object implements Serializable

Serialized Fields

probability

float probability
The probability that this BreedingSource will be chosen to breed over other BreedingSources. This may or may not be used, depending on what the caller to this BreedingSource is. It also might be modified by external sources owning this object, for their own purposes. A BreedingSource should not use it for any purpose of its own, nor modify it except when setting it up.

The most common modification is to normalize it with some other set of probabilities, then set all of them up in increasing summation; this allows the use of the fast static BreedingSource-picking utility method, BreedingSource.pickRandom(...). In order to use this method, for example, if four breeding source probabilities are {0.3, 0.2, 0.1, 0.4}, then they should get normalized and summed by the outside owners as: {0.3, 0.5, 0.6, 1.0}.

Class ec.Evaluator extends java.lang.Object implements Serializable

Serialized Fields

p_problem

Problem p_problem

Class ec.EvolutionState extends java.lang.Object implements Serializable

Serialized Fields

parameters

ParameterDatabase parameters
The parameter database (threadsafe). Parameter objects are also threadsafe. Nonetheless, you should generally try to treat this database as read-only.


random

MersenneTwisterFast[] random
An array of random number generators, indexed by the thread number you were given (or, if you're not in a multithreaded area, use 0). These generators are not threadsafe in and of themselves, but if you only use the random number generator assigned to your thread, as was intended, then you get random numbers in a threadsafe way. These generators must each have a different seed, of course.v


output

Output output
The output and logging facility (threadsafe). Keep in mind that output in Java is expensive.


breedthreads

int breedthreads
The requested number of threads to be used in breeding, excepting perhaps a "parent" thread which gathers the other threads. If breedthreads = 1, then the system should not be multithreaded during breeding. Don't modify this during a run.


evalthreads

int evalthreads
The requested number of threads to be used in evaluation, excepting perhaps a "parent" thread which gathers the other threads. If evalthreads = 1, then the system should not be multithreaded during evaluation. Don't modify this during a run.


checkpoint

boolean checkpoint
Should we checkpoint at all?


checkpointPrefix

java.lang.String checkpointPrefix
The requested prefix start checkpoint filenames, not including a following period. You probably shouldn't modify this during a run.


checkpointModulo

int checkpointModulo
The requested number of generations that should pass before we write out a checkpoint file.


randomSeedOffset

int randomSeedOffset
An amount to add to each random number generator seed to "offset" it -- often this is simply the job number. If you are using more random number generators internally than the ones initially created for you in the EvolutionState, you might want to create them with the seed value of seedParameter+randomSeedOffset. At present the only such class creating additional generators is ec.eval.MasterProblem.


quitOnRunComplete

boolean quitOnRunComplete
Whether or not the system should prematurely quit when Evaluator returns true for runComplete(...) (that is, when the system found an ideal individual.


job

java.lang.Object[] job
Current job iteration variables, set by Evolve. The default version simply sets this to a single Object[1] containing the current job iteration number as an Integer (for a single job, it's 0). You probably should not modify this inside an evolutionary run.


runtimeArguments

java.lang.String[] runtimeArguments
The original runtime arguments passed to the Java process. You probably should not modify this inside an evolutionary run.


generation

int generation
The current generation of the population in the run. For non-generational approaches, this probably should represent some kind of incrementing value, perhaps the number of individuals evaluated so far. You probably shouldn't modify this.


numGenerations

int numGenerations
The number of generations the evolutionary computation system will run until it ends. If after the population has been evaluated the Evaluator returns true for runComplete(...), and quitOnRunComplete is true, then the system will quit. You probably shouldn't modify this.


population

Population population
The current population. This is not a singleton object, and may be replaced after every generation in a generational approach. You should only access this in a read-only fashion.


initializer

Initializer initializer
The population initializer, a singleton object. You should only access this in a read-only fashion.


finisher

Finisher finisher
The population finisher, a singleton object. You should only access this in a read-only fashion.


breeder

Breeder breeder
The population breeder, a singleton object. You should only access this in a read-only fashion.


evaluator

Evaluator evaluator
The population evaluator, a singleton object. You should only access this in a read-only fashion.


statistics

Statistics statistics
The population statistics, a singleton object. You should generally only access this in a read-only fashion.


exchanger

Exchanger exchanger
The population exchanger, a singleton object. You should only access this in a read-only fashion.

Class ec.Exchanger extends java.lang.Object implements Serializable

Class ec.Finisher extends java.lang.Object implements Serializable

Class ec.Fitness extends java.lang.Object implements Serializable

Serialized Fields

trials

int trials
Auxiliary variable, used by coevolutionary processes, to compute the number of trials used to compute this Fitness value. By default trials=1.

Class ec.Individual extends java.lang.Object implements Serializable

Serialized Fields

fitness

Fitness fitness
The fitness of the Individual.


species

Species species
The species of the Individual.


evaluated

boolean evaluated
Has the individual been evaluated and its fitness determined yet?


birthday

int birthday

Class ec.Initializer extends java.lang.Object implements Serializable

Class ec.Population extends java.lang.Object implements Serializable

Serialized Fields

subpops

Subpopulation[] subpops

Class ec.Problem extends java.lang.Object implements Serializable

Class ec.SelectionMethod extends BreedingSource implements Serializable

Class ec.Species extends java.lang.Object implements Serializable

Serialized Fields

i_prototype

Individual i_prototype
The prototypical individual for this species.


pipe_prototype

BreedingPipeline pipe_prototype
The prototypical breeding pipeline for this species.


f_prototype

Fitness f_prototype
The prototypical fitness for individuals of this species.

Class ec.Statistics extends java.lang.Object implements Serializable

Serialized Fields

children

Statistics[] children

Class ec.Subpopulation extends java.lang.Object implements Serializable

Serialized Fields

loadInds

java.io.File loadInds
A new subpopulation should be loaded from this file if it is non-null; otherwise they should be created at random.


species

Species species
The species for individuals in this subpopulation.


individuals

Individual[] individuals
The subpopulation's individuals.


numDuplicateRetries

int numDuplicateRetries
Do we allow duplicates?


Package ec.breed

Class ec.breed.BufferedBreedingPipeline extends BreedingPipeline implements Serializable

Serialized Fields

buffer

Individual[] buffer

currentSize

int currentSize

Class ec.breed.ForceBreedingPipeline extends BreedingPipeline implements Serializable

Serialized Fields

numInds

int numInds

Class ec.breed.GenerationSwitchPipeline extends BreedingPipeline implements Serializable

Serialized Fields

maxGeneratable

int maxGeneratable

generateMax

boolean generateMax

generationSwitch

int generationSwitch

Class ec.breed.MultiBreedingPipeline extends BreedingPipeline implements Serializable

Serialized Fields

maxGeneratable

int maxGeneratable

generateMax

boolean generateMax

Class ec.breed.ReproductionPipeline extends BreedingPipeline implements Serializable

Serialized Fields

mustClone

boolean mustClone

Package ec.coevolve

Class ec.coevolve.CompetitiveEvaluator extends Evaluator implements Serializable

Serialized Fields

style

int style

groupSize

int groupSize

allowOverEvaluation

boolean allowOverEvaluation

whereToPutInformation

int whereToPutInformation

Class ec.coevolve.MultiPopCoevolutionaryEvaluator extends Evaluator implements Serializable

Serialized Fields

numCurrent

int numCurrent

numElite

int numElite

eliteIndividuals

Individual[][] eliteIndividuals

numPrev

int numPrev

previousPopulation

Population previousPopulation

selectionMethodPrev

SelectionMethod[] selectionMethodPrev

selectionMethodCurrent

SelectionMethod[] selectionMethodCurrent

inds

Individual[] inds

updates

boolean[] updates

Package ec.de

Class ec.de.Best1BinDEBreeder extends DEBreeder implements Serializable

Serialized Fields

F_NOISE

double F_NOISE
limits on uniform noise for F

Class ec.de.DEBreeder extends Breeder implements Serializable

Serialized Fields

F

double F
Scaling factor for mutation


Cr

double Cr
Probability of crossover per gene


previousPopulation

Population previousPopulation
the previous population is stored in order to have parents compete directly with their children


bestSoFarIndex

int[] bestSoFarIndex
the best individuals in each population (required by some DE breeders). It's not required by DEBreeder's algorithm

Class ec.de.DEEvaluator extends SimpleEvaluator implements Serializable

Class ec.de.Rand1EitherOrDEBreeder extends DEBreeder implements Serializable

Serialized Fields

PF

double PF

Package ec.display

Class ec.display.Console extends javax.swing.JFrame implements Serializable

Serialized Fields

parameters

ParameterDatabase parameters

state

EvolutionState state

playThread

java.lang.Thread playThread

playing

boolean playing

paused

boolean paused

buttonLock

java.lang.Object buttonLock

cleanupLock

java.lang.Object cleanupLock

currentJob

int currentJob

clArgs

java.lang.String[] clArgs

jContentPane

javax.swing.JPanel jContentPane

jJMenuBar

javax.swing.JMenuBar jJMenuBar

fileMenu

javax.swing.JMenu fileMenu

helpMenu

javax.swing.JMenu helpMenu

exitMenuItem

javax.swing.JMenuItem exitMenuItem

aboutMenuItem

javax.swing.JMenuItem aboutMenuItem

jTabbedPane

javax.swing.JTabbedPane jTabbedPane

jToolBar

javax.swing.JToolBar jToolBar

playButton

javax.swing.JButton playButton

pauseButton

javax.swing.JButton pauseButton

stopButton

javax.swing.JButton stopButton

stepButton

javax.swing.JButton stepButton

loadParametersMenuItem

javax.swing.JMenuItem loadParametersMenuItem

paramPanel

ParametersPanel paramPanel

conPanel

ControlPanel conPanel

aboutFrame

javax.swing.JFrame aboutFrame

threadIsToStop

boolean threadIsToStop

_step

boolean _step

result

int result

loadCheckpointMenuItem

javax.swing.JMenuItem loadCheckpointMenuItem

statisticsPane

javax.swing.JTabbedPane statisticsPane

inspectionPane

javax.swing.JTabbedPane inspectionPane

statusPane

javax.swing.JPanel statusPane

statusField

javax.swing.JTextField statusField

Class ec.display.ControlPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

console

Console console

jLabel

javax.swing.JLabel jLabel

numGensField

javax.swing.JTextField numGensField

quitOnRunCompleteCheckbox

javax.swing.JCheckBox quitOnRunCompleteCheckbox

jLabel1

javax.swing.JLabel jLabel1

numJobsField

javax.swing.JTextField numJobsField

jLabel2

javax.swing.JLabel jLabel2

jLabel3

javax.swing.JLabel jLabel3

evalThreadsField

javax.swing.JTextField evalThreadsField

breedThreadsField

javax.swing.JTextField breedThreadsField

jPanel

javax.swing.JPanel jPanel

seedFileRadioButton

javax.swing.JRadioButton seedFileRadioButton

seedFileField

javax.swing.JTextField seedFileField

seedFileButton

javax.swing.JButton seedFileButton

randomSeedsRadioButton

javax.swing.JRadioButton randomSeedsRadioButton

seedsTable

javax.swing.JTable seedsTable

jScrollPane

javax.swing.JScrollPane jScrollPane

jLabel6

javax.swing.JLabel jLabel6

checkpointCheckBox

javax.swing.JCheckBox checkpointCheckBox

checkpointPanel

javax.swing.JPanel checkpointPanel

jLabel7

javax.swing.JLabel jLabel7

checkpointModuloField

javax.swing.JTextField checkpointModuloField

jLabel8

javax.swing.JLabel jLabel8

prefixField

javax.swing.JTextField prefixField

jLabel10

javax.swing.JLabel jLabel10

seedButtonGroup

javax.swing.ButtonGroup seedButtonGroup

generateSeedsButton

javax.swing.JButton generateSeedsButton

sequentialSeedsRadioButton

javax.swing.JRadioButton sequentialSeedsRadioButton

jLabel5

javax.swing.JLabel jLabel5

jobFilePrefixField

javax.swing.JTextField jobFilePrefixField

Class ec.display.EvolutionStateEvent extends java.util.EventObject implements Serializable

Class ec.display.ParametersPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

console

Console console

parameterTreeScrollPane

javax.swing.JScrollPane parameterTreeScrollPane

parameterTree

javax.swing.JTree parameterTree

parameterTableScrollPane

javax.swing.JScrollPane parameterTableScrollPane

parameterTable

javax.swing.JTable parameterTable

jSplitPane

javax.swing.JSplitPane jSplitPane

Class ec.display.StatisticsChartPane extends javax.swing.JTabbedPane implements Serializable

Serialized Fields

numCharts

int numCharts

Class ec.display.SubpopulationPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

console

Console console

subPopNum

int subPopNum

individualsList

javax.swing.JList individualsList

individualListPane

javax.swing.JScrollPane individualListPane

subpopPane

javax.swing.JSplitPane subpopPane

individualDisplayPane

javax.swing.JSplitPane individualDisplayPane

portrayal

IndividualPortrayal portrayal

inspectionPane

javax.swing.JScrollPane inspectionPane

inspectionTree

javax.swing.JTree inspectionTree

Package ec.display.chart

Class ec.display.chart.BarChartStatistics extends ChartableStatistics implements Serializable

Serialized Fields

dataset

DefaultCategoryDataset dataset

Class ec.display.chart.ChartableStatistics extends Statistics implements Serializable

Serialized Fields

title

java.lang.String title

xlabel

java.lang.String xlabel

ylabel

java.lang.String ylabel

Class ec.display.chart.StatisticsChartPaneTab extends javax.swing.JPanel implements Serializable

Serialized Fields

jPanel

javax.swing.JPanel jPanel

printButton

javax.swing.JButton printButton

closeButton

javax.swing.JButton closeButton

chartPane

ChartPanel chartPane

Class ec.display.chart.XYSeriesChartStatistics extends ChartableStatistics implements Serializable

Serialized Fields

seriesCollection

XYSeriesCollection seriesCollection

Package ec.display.portrayal

Class ec.display.portrayal.IndividualPortrayal extends javax.swing.JPanel implements Serializable

Class ec.display.portrayal.SimpleIndividualPortrayal extends IndividualPortrayal implements Serializable

Serialized Fields

textPane

javax.swing.JTextPane textPane

printIndividualWriter

java.io.CharArrayWriter printIndividualWriter

Package ec.es

Class ec.es.ESSelection extends SelectionMethod implements Serializable

Class ec.es.MuCommaLambdaBreeder extends Breeder implements Serializable

Serialized Fields

mu

int[] mu

lambda

int[] lambda

parentPopulation

Population parentPopulation

comparison

byte[] comparison

count

int[] count
Modified by multiple threads, don't fool with this


children

int[] children

parents

int[] parents

Class ec.es.MuPlusLambdaBreeder extends MuCommaLambdaBreeder implements Serializable


Package ec.eval

Class ec.eval.MasterProblem extends Problem implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Custom serialization

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Custom serialization

Throws:
java.io.IOException
Serialized Fields

jobSize

int jobSize

showDebugInfo

boolean showDebugInfo

problem

Problem problem

batchMode

boolean batchMode

monitor

SlaveMonitor monitor

queue

java.util.ArrayList<E> queue

Package ec.evolve

Class ec.evolve.RandomRestarts extends Statistics implements Serializable

Serialized Fields

countdown

int countdown

upperbound

int upperbound

restartType

java.lang.String restartType

Package ec.exchange

Class ec.exchange.InterPopulationExchange extends Exchanger implements Serializable

Serialized Fields

base

Parameter base
My parameter base -- I need to keep this in order to help the server reinitialize contacts


exchangeInformation

ec.exchange.InterPopulationExchange.IPEInformation[] exchangeInformation

immigrants

Individual[][] immigrants

nImmigrants

int[] nImmigrants

nrSources

int nrSources

chatty

boolean chatty

Class ec.exchange.IslandExchange extends Exchanger implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Custom serialization

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Custom serialization

Throws:
java.io.IOException
Serialized Fields

chatty

boolean chatty
Our chattiness


serverThread

java.lang.Thread serverThread
The thread of the server (is different than null only for the island with the server)


base

Parameter base
My parameter base -- I need to keep this in order to help the server reinitialize contacts


serverAddress

java.lang.String serverAddress
The address of the server


serverPort

int serverPort
The port of the server


clientPort

int clientPort
The port of the client mailbox


iAmServer

boolean iAmServer
whether the server should be running on the current island or not


ownId

java.lang.String ownId
the id of the current island


compressedCommunication

boolean compressedCommunication
whether the communication is compressed or not


immigrantsSelectionMethod

SelectionMethod immigrantsSelectionMethod
the selection method for emigrants


indsToDieSelectionMethod

SelectionMethod indsToDieSelectionMethod
the selection method for individuals to be replaced by immigrants


mailbox

ec.exchange.IslandExchangeMailbox mailbox

mailboxThread

java.lang.Thread mailboxThread

number_of_destination_islands

int number_of_destination_islands

synchronous

boolean synchronous
synchronous or asynchronous communication


modulo

int modulo
how often to send individuals


offset

int offset
after how many generations to start sending individuals


size

int size
how many individuals to send each time


outSockets

java.net.Socket[] outSockets

outWriters

java.io.DataOutputStream[] outWriters

outgoingIds

java.lang.String[] outgoingIds

running

boolean[] running

serverSocket

java.net.Socket serverSocket

toServer

java.io.DataOutputStream toServer

fromServer

java.io.DataInputStream fromServer

alreadyReadGoodBye

boolean alreadyReadGoodBye

message

java.lang.String message

Package ec.gp

Class ec.gp.ADF extends GPNode implements Serializable

Serialized Fields

associatedTree

int associatedTree
The ADF's associated tree


name

java.lang.String name
The "function name" of the ADF, to distinguish it from other GP functions you might provide.

Class ec.gp.ADFArgument extends GPNode implements Serializable

Serialized Fields

argument

int argument

name

java.lang.String name
The "function name" of the ADFArgument, to distinguish it from other GP functions you might provide.

Class ec.gp.ADFContext extends java.lang.Object implements Serializable

Serialized Fields

adf

ADF adf
The ADF/ADM node proper


arg_proto

GPData arg_proto
A prototypical GPData node.


arguments

GPData[] arguments
An array of GPData nodes (none of the null, when it's used) holding an ADF's arguments' return results

Class ec.gp.ADFStack extends java.lang.Object implements Serializable

Serialized Fields

context_proto

ADFContext context_proto

onStack

int onStack

onSubstack

int onSubstack

inReserve

int inReserve

stack

ADFContext[] stack

substack

ADFContext[] substack

reserve

ADFContext[] reserve

Class ec.gp.ADM extends ADF implements Serializable

Class ec.gp.ERC extends GPNode implements Serializable

Class ec.gp.GPAtomicType extends GPType implements Serializable

Class ec.gp.GPBreedingPipeline extends BreedingPipeline implements Serializable

Class ec.gp.GPData extends java.lang.Object implements Serializable

Class ec.gp.GPFunctionSet extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name
Name of the GPFunctionSet


nodes_h

java.util.Hashtable<K,V> nodes_h
The nodes that our GPTree can use: arrays of nodes hashed by type.


nodes

GPNode[][] nodes
The nodes that our GPTree can use: nodes[type][thenodes].


nonterminals_h

java.util.Hashtable<K,V> nonterminals_h
The nonterminals our GPTree can use: arrays of nonterminals hashed by type.


nonterminals

GPNode[][] nonterminals
The nonterminals our GPTree can use: nonterminals[type][thenodes].


terminals_h

java.util.Hashtable<K,V> terminals_h
The terminals our GPTree can use: arrays of terminals hashed by type.


terminals

GPNode[][] terminals
The terminals our GPTree can use: terminals[type][thenodes].


nodesByName

java.util.Hashtable<K,V> nodesByName
The nodes that our GPTree can use, hashed by name().


nodesByArity

GPNode[][][] nodesByArity
Nodes == a given arity, that is: nodesByArity[type][arity][thenodes]


nonterminalsUnderArity

GPNode[][][] nonterminalsUnderArity
Nonterminals <= a given arity, that is: nonterminalsUnderArity[type][arity][thenodes] -- this will be O(n^2). Obviously, the number of nonterminals at arity slot 0 is 0.


nonterminalsOverArity

GPNode[][][] nonterminalsOverArity
Nonterminals >= a given arity, that is: nonterminalsOverArity[type][arity][thenodes] -- this will be O(n^2). Obviously, the number of nonterminals at arity slot 0 is all the nonterminals of that type.

Class ec.gp.GPIndividual extends Individual implements Serializable

Serialized Fields

trees

GPTree[] trees

Class ec.gp.GPInitializer extends SimpleInitializer implements Serializable

Serialized Fields

typeRepository

java.util.Hashtable<K,V> typeRepository
TODO Comment these members. TODO Make clients of these members more efficient by reducing unnecessary casting.


types

GPType[] types

numAtomicTypes

int numAtomicTypes

numSetTypes

int numSetTypes

nodeConstraintRepository

java.util.Hashtable<K,V> nodeConstraintRepository

nodeConstraints

GPNodeConstraints[] nodeConstraints

numNodeConstraints

byte numNodeConstraints

functionSetRepository

java.util.Hashtable<K,V> functionSetRepository

treeConstraintRepository

java.util.Hashtable<K,V> treeConstraintRepository

treeConstraints

GPTreeConstraints[] treeConstraints

numTreeConstraints

byte numTreeConstraints

Class ec.gp.GPNode extends java.lang.Object implements Serializable

Serialized Fields

parent

GPNodeParent parent
The GPNode's parent. 4 bytes. :-( But it really helps simplify breeding.


children

GPNode[] children

argposition

byte argposition
The argument position of the child in its parent. This is a byte to save space (GPNode is the critical object space-wise) -- besides, how often do you have 256 children? You can change this to a short or int easily if you absolutely need to. It's possible to eliminate even this and have the child find itself in its parent, but that's an O(children[]) operation, and probably not inlinable, so I figure a byte is okay.


constraints

byte constraints
The GPNode's constraints. This is a byte to save space -- how often do you have 256 different GPNodeConstraints? Well, I guess it's not infeasible. You can increase this to an int without much trouble. You typically shouldn't access the constraints through this variable -- use the constraints(state) method instead.

Class ec.gp.GPNodeBuilder extends java.lang.Object implements Serializable

Serialized Fields

minSize

int minSize

maxSize

int maxSize
the minium possible size -- if unused, it's 0


sizeDistribution

float[] sizeDistribution
the maximum possible size -- if unused, it's 0

Class ec.gp.GPNodeConstraints extends java.lang.Object implements Serializable

Serialized Fields

probabilityOfSelection

float probabilityOfSelection
Probability of selection -- an auxillary measure mostly used by PTC1/PTC2 right now


constraintNumber

byte constraintNumber
The byte value of the constraints -- we can only have 256 of them


returntype

GPType returntype
The return type for a GPNode


childtypes

GPType[] childtypes
The children types for a GPNode


name

java.lang.String name
The name of the GPNodeConstraints object -- this is NOT the name of the GPNode


zeroChildren

GPNode[] zeroChildren
A little memory optimization: if GPNodes have no children, they are welcome to use share this zero-sized array as their children array.

Class ec.gp.GPNodeGatherer extends java.lang.Object implements Serializable

Serialized Fields

node

GPNode node

Class ec.gp.GPProblem extends Problem implements Serializable

Serialized Fields

stack

ADFStack stack
The GPProblem's stack


data

GPData data
The GPProblems' GPData

Class ec.gp.GPSetType extends GPType implements Serializable

Serialized Fields

types_packed

int[] types_packed
A packed, sorted array of atomic types in the set


types_sparse

boolean[] types_sparse
A sparse array of atomic types in the set


types_h

java.util.Hashtable<K,V> types_h
The hashtable of types in the set

Class ec.gp.GPSpecies extends Species implements Serializable

Class ec.gp.GPTree extends java.lang.Object implements Serializable

Serialized Fields

child

GPNode child
the root GPNode in the GPTree


owner

GPIndividual owner
the owner of the GPTree


constraints

byte constraints
constraints on the GPTree -- don't access the constraints through this variable -- use the constraints() method instead, which will give the actual constraints object.


printStyle

int printStyle
The print style of the GPTree.


printTerminalsAsVariablesInC

boolean printTerminalsAsVariablesInC
When using c to print for humans, do we print terminals as variables? (as opposed to zero-argument functions)?


printTwoArgumentNonterminalsAsOperatorsInC

boolean printTwoArgumentNonterminalsAsOperatorsInC
When using c to print for humans, do we print two-argument nonterminals in operator form "a op b"? (as opposed to functions "op(a, b)")?

Class ec.gp.GPTreeConstraints extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

constraintNumber

byte constraintNumber
The byte value of the constraints -- we can only have 256 of them


init

GPNodeBuilder init
The builder for the tree


treetype

GPType treetype
The type of the root of the tree


functionset

GPFunctionSet functionset
The function set for nodes in the tree

Class ec.gp.GPType extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
The name of the type


type

int type
The preassigned integer value for the type


Package ec.gp.breed

Class ec.gp.breed.InternalCrossoverPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect0

GPNodeSelector nodeselect0
How the pipeline chooses the first subtree


nodeselect1

GPNodeSelector nodeselect1
How the pipeline chooses the second subtree


numTries

int numTries
How many times the pipeline attempts to pick nodes until it gives up.


maxDepth

int maxDepth
The deepest tree the pipeline is allowed to form. Single terminal trees are depth 1.


tree1

int tree1
Is the first tree fixed? If not, this is -1


tree2

int tree2
Is the second tree fixed? If not, this is -1

Class ec.gp.breed.MutateAllNodesPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect

GPNodeSelector nodeselect
How the pipeline chooses a subtree to mutate


tree

int tree
Is our tree fixed? If not, this is -1

Class ec.gp.breed.MutateDemotePipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

numTries

int numTries
The number of times the pipeline tries to build a valid mutated tree before it gives up and just passes on the original


maxDepth

int maxDepth
The maximum depth of a mutated tree


tree

int tree
Is our tree fixed? If not, this is -1


gatherer

GPNodeGatherer gatherer
Temporary Node Gatherer


demotableNode

GPNode demotableNode

Class ec.gp.breed.MutateERCPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect

GPNodeSelector nodeselect
How the pipeline chooses a subtree to mutate


tree

int tree
Is our tree fixed? If not, this is -1

Class ec.gp.breed.MutateOneNodePipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect

GPNodeSelector nodeselect
How the pipeline chooses a subtree to mutate


tree

int tree
Is our tree fixed? If not, this is -1

Class ec.gp.breed.MutatePromotePipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

tree

int tree
Is our tree fixed? If not, this is -1


numTries

int numTries
The number of times the pipeline tries to build a valid mutated tree before it gives up and just passes on the original


promotableNode

GPNode promotableNode

Class ec.gp.breed.MutateSwapPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

numTries

int numTries
The number of times the pipeline tries to build a valid mutated tree before it gives up and just passes on the original


tree

int tree
Is our tree fixed? If not, this is -1


swappableNode

GPNode swappableNode

Class ec.gp.breed.RehangPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

numTries

int numTries
The number of times the pipeline tries to find a tree with a nonterminal before giving up and just copying the individual.


tree

int tree
Is our tree fixed? If not, this is -1


rehangableNode

GPNode rehangableNode

Package ec.gp.build

Class ec.gp.build.PTC1 extends GPNodeBuilder implements Serializable

Serialized Fields

maxDepth

int maxDepth
The largest maximum tree depth PTC1 can specify -- should be big.


expectedSize

int expectedSize
The default expected tree size for PTC1

Class ec.gp.build.PTC2 extends GPNodeBuilder implements Serializable

Serialized Fields

maxDepth

int maxDepth
The largest maximum tree depth GROW can specify -- should be big.


s_node

GPNode[] s_node

s_argpos

int[] s_argpos

s_depth

int[] s_depth

s_size

int s_size

dequeue_node

GPNode dequeue_node

dequeue_argpos

int dequeue_argpos

dequeue_depth

int dequeue_depth

Class ec.gp.build.PTCFunctionSet extends GPFunctionSet implements Serializable

Serialized Fields

q_ty

float[][] q_ty
terminal probabilities[type][thenodes], in organized form


q_ny

float[][] q_ny
nonterminal probabilities[type][thenodes], in organized form


p_y

float[][] p_y
cache of nonterminal selection probabilities -- dense array [size-1][type]. If any items are null, they're not in the dense cache.

Class ec.gp.build.RandomBranch extends GPNodeBuilder implements Serializable

Class ec.gp.build.RandTree extends GPNodeBuilder implements Serializable

Serialized Fields

arities

int[] arities

aritySetupDone

boolean aritySetupDone

permutations

java.util.LinkedList<E> permutations

Class ec.gp.build.Uniform extends GPNodeBuilder implements Serializable

Serialized Fields

functionsets

GPFunctionSet[] functionsets

_functionsets

java.util.Hashtable<K,V> _functionsets

funcnodes

java.util.Hashtable<K,V> funcnodes

numfuncnodes

int numfuncnodes

maxarity

int maxarity

maxtreesize

int maxtreesize

_truesizes

java.math.BigInteger[][][] _truesizes

truesizes

double[][][] truesizes

useTrueDistribution

boolean useTrueDistribution

NUMTREESOFTYPE

java.math.BigInteger[][][] NUMTREESOFTYPE

NUMTREESROOTEDBYNODE

java.math.BigInteger[][][] NUMTREESROOTEDBYNODE

NUMCHILDPERMUTATIONS

java.math.BigInteger[][][][][] NUMCHILDPERMUTATIONS

ROOT_D

ec.gp.build.UniformGPNodeStorage[][][][] ROOT_D

ROOT_D_ZERO

boolean[][][] ROOT_D_ZERO

CHILD_D

double[][][][][] CHILD_D

Package ec.gp.ge

Class ec.gp.ge.GEIndividual extends ByteVectorIndividual implements Serializable

Class ec.gp.ge.GEProblem extends Problem implements Serializable

Serialized Fields

problem

GPProblem problem

Class ec.gp.ge.GESpecies extends IntegerVectorSpecies implements Serializable

Serialized Fields

gpspecies

GPSpecies gpspecies
The GPSpecies subsidiary to GESpecies.


ERCBank

java.util.HashMap<K,V> ERCBank
All the ERCs created so far.


grammar

GrammarRuleNode[] grammar
The parsed grammars.


parser_prototype

GrammarParser parser_prototype
The prototypical parser used to parse the grammars.

Class ec.gp.ge.GrammarParser extends java.lang.Object implements Serializable

Serialized Fields

rules

java.util.HashMap<K,V> rules

root

GrammarRuleNode root

Package ec.gp.koza

Class ec.gp.koza.CrossoverPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect1

GPNodeSelector nodeselect1
How the pipeline selects a node from individual 1


nodeselect2

GPNodeSelector nodeselect2
How the pipeline selects a node from individual 2


tree1

int tree1
Is the first tree fixed? If not, this is -1


tree2

int tree2
Is the second tree fixed? If not, this is -1


numTries

int numTries
How many times the pipeline attempts to pick nodes until it gives up.


maxDepth

int maxDepth
The deepest tree the pipeline is allowed to form. Single terminal trees are depth 1.


tossSecondParent

boolean tossSecondParent
Should the pipeline discard the second parent after crossing over?


parents

GPIndividual[] parents
Temporary holding place for parents

Class ec.gp.koza.FullBuilder extends KozaBuilder implements Serializable

Class ec.gp.koza.GrowBuilder extends KozaBuilder implements Serializable

Class ec.gp.koza.HalfBuilder extends KozaBuilder implements Serializable

Serialized Fields

pickGrowProbability

float pickGrowProbability
The likelihood of using GROW over FULL.

Class ec.gp.koza.KozaBuilder extends GPNodeBuilder implements Serializable

Serialized Fields

maxDepth

int maxDepth
The largest maximum tree depth RAMPED HALF-AND-HALF can specify.


minDepth

int minDepth
The smallest maximum tree depth RAMPED HALF-AND-HALF can specify.

Class ec.gp.koza.KozaFitness extends Fitness implements Serializable

Serialized Fields

standardizedFitness

float standardizedFitness
This ranges from 0 (best) to infinity (worst). I define it here as equivalent to the standardized fitness.


hits

int hits
This auxillary measure is used in some problems for additional information. It's a traditional feature of Koza-style GP, and so although I think it's not very useful, I'll leave it in anyway.

Class ec.gp.koza.KozaNodeSelector extends java.lang.Object implements Serializable

Serialized Fields

rootProbability

float rootProbability
The probability the root must be chosen


terminalProbability

float terminalProbability
The probability a terminal must be chosen


nonterminalProbability

float nonterminalProbability
The probability a nonterminal must be chosen.


nonterminals

int nonterminals
The number of nonterminals in the tree, -1 if unknown.


terminals

int terminals
The number of terminals in the tree, -1 if unknown.


nodes

int nodes
The number of nodes in the tree, -1 if unknown.


gatherer

GPNodeGatherer gatherer
Used internally to look for a node. This is threadsafe as long as an instance of KozaNodeSelector is used by only one thread.

Class ec.gp.koza.KozaShortStatistics extends Statistics implements Serializable

Serialized Fields

doFull

boolean doFull

best_of_run

Individual[] best_of_run

totalNodes

long[] totalNodes

totalDepths

long[] totalDepths

lastTime

long lastTime

lastUsage

long lastUsage

statisticslog

int statisticslog
The Statistics' log

Class ec.gp.koza.KozaStatistics extends Statistics implements Serializable

Serialized Fields

statisticslog

int statisticslog
Deprecated. 
The Statistics' log


best_of_run

Individual[] best_of_run
Deprecated. 
The best individual we've found so far


doFull

boolean doFull
Deprecated. 

numInds

long numInds
Deprecated. 

lastTime

long lastTime
Deprecated. 

initializationTime

long initializationTime
Deprecated. 

breedingTime

long breedingTime
Deprecated. 

evaluationTime

long evaluationTime
Deprecated. 

nodesInitialized

long nodesInitialized
Deprecated. 

nodesEvaluated

long nodesEvaluated
Deprecated. 

nodesBred

long nodesBred
Deprecated. 

lastUsage

long lastUsage
Deprecated. 

initializationUsage

long initializationUsage
Deprecated. 

breedingUsage

long breedingUsage
Deprecated. 

evaluationUsage

long evaluationUsage
Deprecated. 

Class ec.gp.koza.MutationPipeline extends GPBreedingPipeline implements Serializable

Serialized Fields

nodeselect

GPNodeSelector nodeselect
How the pipeline chooses a subtree to mutate


builder

GPNodeBuilder builder
How the pipeline builds a new subtree


numTries

int numTries
The number of times the pipeline tries to build a valid mutated tree before it gives up and just passes on the original


maxDepth

int maxDepth
The maximum depth of a mutated tree


equalSize

boolean equalSize
Do we try to replace the subtree with another of the same size?


tree

int tree
Is our tree fixed? If not, this is -1


Package ec.multiobjective

Class ec.multiobjective.MultiObjectiveFitness extends Fitness implements Serializable

Serialized Fields

maxObjective

float[] maxObjective
Desired maximum fitness values. By default these are 1.0. Shared.


minObjective

float[] minObjective
Desired minimum fitness values. By default these are 0.0. Shared.


objectives

float[] objectives
The various fitnesses.


maximize

boolean maximize

Class ec.multiobjective.MultiObjectiveStatistics extends SimpleStatistics implements Serializable

Serialized Fields

frontLog

int frontLog

Package ec.multiobjective.nsga2

Class ec.multiobjective.nsga2.NSGA2Breeder extends SimpleBreeder implements Serializable

Class ec.multiobjective.nsga2.NSGA2Evaluator extends SimpleEvaluator implements Serializable

Serialized Fields

originalPopSize

int[] originalPopSize
The original population size is stored here so NSGA2 knows how large to create the archive (it's the size of the original population -- keep in mind that NSGA2Breeder had made the population larger to include the children.

Class ec.multiobjective.nsga2.NSGA2MultiObjectiveFitness extends MultiObjectiveFitness implements Serializable

Serialized Fields

rank

int rank
Pareto front rank measure (lower ranks are better)


sparsity

double sparsity
Sparsity along front rank measure (higher sparsity is better)


Package ec.multiobjective.spea2

Class ec.multiobjective.spea2.SPEA2Breeder extends SimpleBreeder implements Serializable

Class ec.multiobjective.spea2.SPEA2Evaluator extends SimpleEvaluator implements Serializable

Class ec.multiobjective.spea2.SPEA2MultiObjectiveFitness extends MultiObjectiveFitness implements Serializable

Serialized Fields

strength

double strength
SPEA2 strength (# of nodes it dominates)


kthNNDistance

double kthNNDistance
SPEA2 NN distance


fitness

double fitness
Final SPEA2 fitness. Equals the raw fitness R(i) plus the kthNNDistance D(i).

Class ec.multiobjective.spea2.SPEA2TournamentSelection extends TournamentSelection implements Serializable


Package ec.parsimony

Class ec.parsimony.BucketTournamentSelection extends SelectionMethod implements Serializable

Serialized Fields

size

int size
Size of the tournament


pickWorst

boolean pickWorst
Do we pick the worst instead of the best?


nBuckets

int nBuckets

bucketValues

int[] bucketValues

Class ec.parsimony.DoubleTournamentSelection extends SelectionMethod implements Serializable

Serialized Fields

size

int size
Size of the tournament


size2

int size2

probabilityOfSelection

double probabilityOfSelection
What's our probability of selection? If 1.0, we always pick the "good" individual.


probabilityOfSelection2

double probabilityOfSelection2

pickWorst

boolean pickWorst
Do we pick the worst instead of the best?


pickWorst2

boolean pickWorst2

doLengthFirst

boolean doLengthFirst

Class ec.parsimony.LexicographicTournamentSelection extends TournamentSelection implements Serializable

Class ec.parsimony.ProportionalTournamentSelection extends TournamentSelection implements Serializable

Serialized Fields

fitnessPressureProb

double fitnessPressureProb
The probability of having the tournament based on fitness

Class ec.parsimony.RatioBucketTournamentSelection extends SelectionMethod implements Serializable

Serialized Fields

size

int size
Size of the tournament


pickWorst

boolean pickWorst
Do we pick the worst instead of the best?


ratio

float ratio
The value of RATIO


bucketValues

int[] bucketValues

Class ec.parsimony.TarpeianStatistics extends Statistics implements Serializable

Serialized Fields

killProportion

float killProportion

Package ec.pso

Class ec.pso.PSOBreeder extends Breeder implements Serializable

Class ec.pso.PSOSubpopulation extends Subpopulation implements Serializable

Serialized Fields

neighborhoodSize

int neighborhoodSize

clampRange

boolean clampRange

initialVelocityScale

double initialVelocityScale

velocityMultiplier

double velocityMultiplier

globalBest

DoubleVectorIndividual globalBest

neighborhoodBests

DoubleVectorIndividual[] neighborhoodBests

personalBests

DoubleVectorIndividual[] personalBests

previousIndividuals

DoubleVectorIndividual[] previousIndividuals

Package ec.rule

Class ec.rule.Rule extends java.lang.Object implements Serializable

Serialized Fields

constraints

byte constraints
An index to a RuleConstraints

Class ec.rule.RuleConstraints extends java.lang.Object implements Serializable

Serialized Fields

constraintNumber

byte constraintNumber
The byte value of the constraints -- we can only have 256 of them


name

java.lang.String name
The name of the RuleConstraints object

Class ec.rule.RuleIndividual extends Individual implements Serializable

Serialized Fields

rulesets

RuleSet[] rulesets
The individual's rulesets.

Class ec.rule.RuleInitializer extends SimpleInitializer implements Serializable

Serialized Fields

ruleConstraintRepository

java.util.Hashtable<K,V> ruleConstraintRepository

ruleConstraints

RuleConstraints[] ruleConstraints

numRuleConstraints

byte numRuleConstraints

ruleSetConstraintRepository

java.util.Hashtable<K,V> ruleSetConstraintRepository

ruleSetConstraints

RuleSetConstraints[] ruleSetConstraints

numRuleSetConstraints

byte numRuleSetConstraints

Class ec.rule.RuleSet extends java.lang.Object implements Serializable

Serialized Fields

constraints

byte constraints
An index to a RuleSetConstraints


rules

Rule[] rules
The rules in the rule set


numRules

int numRules
How many rules are there used in the rules array

Class ec.rule.RuleSetConstraints extends java.lang.Object implements Serializable

Serialized Fields

minSize

int minSize

maxSize

int maxSize

resetMinSize

int resetMinSize

resetMaxSize

int resetMaxSize

sizeDistribution

float[] sizeDistribution

p_add

float p_add

p_del

float p_del

p_randorder

float p_randorder

rulePrototype

Rule rulePrototype
The prototype of the Rule that will be used in the RuleSet (the RuleSet contains only rules with the specified prototype).


constraintNumber

byte constraintNumber
The byte value of the constraints -- we can only have 256 of them


name

java.lang.String name
The name of the RuleSetConstraints object

Class ec.rule.RuleSpecies extends Species implements Serializable


Package ec.rule.breed

Class ec.rule.breed.RuleCrossoverPipeline extends BreedingPipeline implements Serializable

Serialized Fields

tossSecondParent

boolean tossSecondParent
Should the pipeline discard the second parent after crossing over?


ruleCrossProbability

float ruleCrossProbability
What is the probability of a rule migrating?


parents

RuleIndividual[] parents
Temporary holding place for parents

Class ec.rule.breed.RuleMutationPipeline extends BreedingPipeline implements Serializable


Package ec.select

Class ec.select.BestSelection extends SelectionMethod implements Serializable

Serialized Fields

sortedFit

float[] sortedFit
Sorted, normalized, totalized fitnesses for the population


sortedPop

int[] sortedPop
Sorted population -- since I *have* to use an int-sized individual (short gives me only 16K), I might as well just have pointers to the population itself. :-(


pickWorst

boolean pickWorst
Do we pick the worst instead of the best?


bestn

int bestn

Class ec.select.BoltzmannSelection extends FitProportionateSelection implements Serializable

Serialized Fields

startingTemperature

double startingTemperature
Starting temperature


coolingRate

double coolingRate
Cooling rate

Class ec.select.FirstSelection extends SelectionMethod implements Serializable

Class ec.select.FitProportionateSelection extends SelectionMethod implements Serializable

Serialized Fields

fitnesses

float[] fitnesses
Normalized, totalized fitnesses for the population

Class ec.select.GreedyOverselection extends SelectionMethod implements Serializable

Serialized Fields

sortedFitOver

float[] sortedFitOver

sortedFitUnder

float[] sortedFitUnder

sortedPop

int[] sortedPop
Sorted population -- since I *have* to use an int-sized individual (short gives me only 16K), I might as well just have pointers to the population itself. :-(


top_n_percent

float top_n_percent

gets_n_percent

float gets_n_percent

Class ec.select.MultiSelection extends SelectionMethod implements Serializable

Serialized Fields

selects

SelectionMethod[] selects
The MultiSelection's individuals

Class ec.select.RandomSelection extends SelectionMethod implements Serializable

Class ec.select.SigmaScalingSelection extends FitProportionateSelection implements Serializable

Serialized Fields

fitnessFloor

float fitnessFloor
Floor for sigma scaled fitnesses

Class ec.select.SUSSelection extends SelectionMethod implements Serializable

Serialized Fields

indices

int[] indices
An array of pointers to individuals in the population, shuffled along with the fitnesses array.


fitnesses

float[] fitnesses
The distribution of fitnesses.


shuffle

boolean shuffle
Should we shuffle first?


offset

float offset
The floating point value to consider for the next selected individual.


lastIndex

int lastIndex
The index in the array of the last individual selected.


steps

int steps
How many samples have been done?

Class ec.select.TournamentSelection extends SelectionMethod implements Serializable

Serialized Fields

size

int size
Base size of the tournament; this may change.


probabilityOfPickingSizePlusOne

double probabilityOfPickingSizePlusOne
Probablity of picking the size plus one


pickWorst

boolean pickWorst
Do we pick the worst instead of the best?


Package ec.simple

Class ec.simple.SimpleBreeder extends Breeder implements Serializable

Serialized Fields

elite

int[] elite
An array[subpop] of the number of elites to keep for that subpopulation


reevaluateElites

boolean[] reevaluateElites

Class ec.simple.SimpleEvaluator extends Evaluator implements Serializable

Class ec.simple.SimpleEvolutionState extends EvolutionState implements Serializable

Class ec.simple.SimpleExchanger extends Exchanger implements Serializable

Class ec.simple.SimpleFinisher extends Finisher implements Serializable

Class ec.simple.SimpleFitness extends Fitness implements Serializable

Serialized Fields

fitness

float fitness

isIdeal

boolean isIdeal

Class ec.simple.SimpleInitializer extends Initializer implements Serializable

Class ec.simple.SimpleShortStatistics extends Statistics implements Serializable

Serialized Fields

statisticslog

int statisticslog
The Statistics' log


doFull

boolean doFull

best_of_run

Individual[] best_of_run

lengths

long[] lengths

lastTime

long lastTime

lastUsage

long lastUsage

Class ec.simple.SimpleStatistics extends Statistics implements Serializable

Serialized Fields

statisticslog

int statisticslog
The Statistics' log


best_of_run

Individual[] best_of_run
The best individual we've found so far


compress

boolean compress
Should we compress the file?


Package ec.spatial

Class ec.spatial.Spatial1DSubpopulation extends Subpopulation implements Serializable

Serialized Fields

toroidal

boolean toroidal

indexes

int[] indexes

Class ec.spatial.SpatialBreeder extends SimpleBreeder implements Serializable

Class ec.spatial.SpatialMultiPopCoevolutionaryEvaluator extends MultiPopCoevolutionaryEvaluator implements Serializable

Class ec.spatial.SpatialTournamentSelection extends TournamentSelection implements Serializable

Serialized Fields

neighborhoodSize

int neighborhoodSize

indCompetes

boolean indCompetes

type

int type

Package ec.steadystate

Class ec.steadystate.QueueIndividual extends java.lang.Object implements Serializable

Serialized Fields

ind

Individual ind

subpop

int subpop

Class ec.steadystate.SteadyStateBreeder extends SimpleBreeder implements Serializable

Serialized Fields

bp

BreedingPipeline[] bp
If st.firstTimeAround, this acts exactly like SimpleBreeder. Else, it only breeds one new individual per subpopulation, to place in position 0 of the subpopulation.


deselectors

SelectionMethod[] deselectors
Loaded during the first iteration of breedPopulation

Class ec.steadystate.SteadyStateEvaluator extends SimpleEvaluator implements Serializable

Serialized Fields

queue

java.util.LinkedList<E> queue

subpopulationBeingEvaluated

int subpopulationBeingEvaluated
Holds the subpopulation currently being evaluated.


problem

SimpleProblemForm problem
Our problem.

Class ec.steadystate.SteadyStateEvolutionState extends EvolutionState implements Serializable

Serialized Fields

generationBoundary

boolean generationBoundary
Did we just start a new generation?


numEvaluations

long numEvaluations
How many evaluations should we run for? If set to UNDEFINED (0), we run for the number of generations instead.


generationSize

int generationSize
how big is a generation? Set to the size of subpopulation 0 of the initial population.


evaluations

long evaluations
How many evaluations have we run so far?


individualCount

int[] individualCount
How many individuals have we added to the initial population?


individualHash

java.util.HashMap<K,V>[] individualHash
Hash table to check for duplicate individuals


whichSubpop

int whichSubpop
Holds which subpopulation we are currently operating on


firstTime

boolean firstTime
First time calling evolve


Package ec.util

Class ec.util.BadParameterException extends java.lang.RuntimeException implements Serializable

Class ec.util.Log extends java.lang.Object implements Serializable

Serialized Fields

filename

java.io.File filename
A filename, if the writer writes to a file


postAnnouncements

boolean postAnnouncements
Should the log post announcements?


restarter

LogRestarter restarter
The log's restarter


repostAnnouncementsOnRestart

boolean repostAnnouncementsOnRestart
Should the log repost all announcements on restart


appendOnRestart

boolean appendOnRestart
If the log writes to a file, should it append to the file on restart, or should it overwrite the file?


isLoggingToSystemOut

boolean isLoggingToSystemOut

Class ec.util.LogRestarter extends java.lang.Object implements Serializable

Class ec.util.MersenneTwister extends java.util.Random implements Serializable

serialVersionUID: -4035832775130174188L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

mt

int[] mt

mti

int mti

mag01

int[] mag01

__nextNextGaussian

double __nextNextGaussian

__haveNextNextGaussian

boolean __haveNextNextGaussian

Class ec.util.MersenneTwisterFast extends java.lang.Object implements Serializable

serialVersionUID: -8219700664442619525L

Serialized Fields

mt

int[] mt

mti

int mti

mag01

int[] mag01

__nextNextGaussian

double __nextNextGaussian

__haveNextNextGaussian

boolean __haveNextNextGaussian

Class ec.util.Output extends java.lang.Object implements Serializable

Serialized Fields

errors

boolean errors

logs

java.util.Vector<E> logs

announcements

java.util.Vector<E> announcements

store

boolean store

filePrefix

java.lang.String filePrefix

oneTimeWarnings

java.util.HashSet<E> oneTimeWarnings

Class ec.util.OutputException extends java.lang.RuntimeException implements Serializable

Class ec.util.ParamClassLoadException extends java.lang.RuntimeException implements Serializable

Class ec.util.Parameter extends java.lang.Object implements Serializable

Serialized Fields

param

java.lang.String param

Class ec.util.ParameterDatabase extends java.util.Properties implements Serializable

Serialized Fields

printState

int printState

parents

java.util.Vector<E> parents

directory

java.io.File directory

filename

java.lang.String filename

checked

boolean checked

gotten

java.util.Hashtable<K,V> gotten

accessed

java.util.Hashtable<K,V> accessed

listeners

java.util.Vector<E> listeners

Class ec.util.ParameterDatabaseEvent extends java.util.EventObject implements Serializable

Serialized Fields

parameter

Parameter parameter

value

java.lang.String value

type

int type

Class ec.util.ParameterDatabaseTreeModel extends javax.swing.tree.DefaultTreeModel implements Serializable

Serialized Fields

visibleLeaves

boolean visibleLeaves

Package ec.vector

Class ec.vector.BitVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

boolean[] genome

Class ec.vector.ByteVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

byte[] genome

Class ec.vector.DoubleVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

double[] genome

Class ec.vector.FloatVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

float[] genome

Class ec.vector.FloatVectorSpecies extends VectorSpecies implements Serializable

Serialized Fields

minGenes

double[] minGenes

maxGenes

double[] maxGenes

mutationType

int mutationType
What kind of mutation do we have?


gaussMutationStdev

double gaussMutationStdev

mutationIsBounded

boolean mutationIsBounded

outOfBoundsRetries

int outOfBoundsRetries

mutationDistributionIndex

int mutationDistributionIndex

polynomialIsAlternative

boolean polynomialIsAlternative

outOfBoundsRetriesWarningPrinted

boolean outOfBoundsRetriesWarningPrinted

Class ec.vector.GeneVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

VectorGene[] genome

Class ec.vector.GeneVectorSpecies extends VectorSpecies implements Serializable

Serialized Fields

genePrototype

VectorGene genePrototype

Class ec.vector.IntegerVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

int[] genome

Class ec.vector.IntegerVectorSpecies extends VectorSpecies implements Serializable

Serialized Fields

minGenes

long[] minGenes

maxGenes

long[] maxGenes

Class ec.vector.LongVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

long[] genome

Class ec.vector.ShortVectorIndividual extends VectorIndividual implements Serializable

Serialized Fields

genome

short[] genome

Class ec.vector.VectorGene extends java.lang.Object implements Serializable

Class ec.vector.VectorIndividual extends Individual implements Serializable

Class ec.vector.VectorSpecies extends Species implements Serializable

Serialized Fields

mutationProbability

float mutationProbability
Probability that a gene will mutate


crossoverProbability

float crossoverProbability
Probability that a gene will cross over -- ONLY used in V_ANY_POINT crossover


crossoverType

int crossoverType
What kind of crossover do we have?


genomeSize

int genomeSize
How big of a genome should we create on initialization?


crossoverDistributionIndex

int crossoverDistributionIndex
What should the SBX distribution index be?


genomeResizeAlgorithm

int genomeResizeAlgorithm
How should we reset the genome?


minInitialSize

int minInitialSize
What's the smallest legal genome?


maxInitialSize

int maxInitialSize
What's the largest legal genome?


genomeIncreaseProbability

float genomeIncreaseProbability
With what probability would our genome be at least 1 larger than it is now during initialization?


chunksize

int chunksize
How big of chunks should we define for crossover?


lineDistance

double lineDistance
How far along the long a child can be located for line or intermediate recombination


dynamicInitialSize

boolean dynamicInitialSize
Was the initial size determined dynamically?


warned

boolean warned

state

EvolutionState state

Package ec.vector.breed

Class ec.vector.breed.GeneDuplicationPipeline extends BreedingPipeline implements Serializable

Class ec.vector.breed.ListCrossoverPipeline extends BreedingPipeline implements Serializable

Serialized Fields

tossSecondParent

boolean tossSecondParent

crossoverType

int crossoverType

minChildSize

int minChildSize

numTries

int numTries

minCrossoverPercentage

float minCrossoverPercentage

maxCrossoverPercentage

float maxCrossoverPercentage

parents

VectorIndividual[] parents

Class ec.vector.breed.MultipleVectorCrossoverPipeline extends BreedingPipeline implements Serializable

Serialized Fields

parents

VectorIndividual[] parents
Temporary holding place for parents

Class ec.vector.breed.VectorCrossoverPipeline extends BreedingPipeline implements Serializable

Serialized Fields

tossSecondParent

boolean tossSecondParent
Should the pipeline discard the second parent after crossing over?


parents

VectorIndividual[] parents
Temporary holding place for parents

Class ec.vector.breed.VectorMutationPipeline extends BreedingPipeline implements Serializable