|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.engine.AbstractOperator
org.evolvica.core.common.AbstractGeneticOperator
org.evolvica.core.init.AbstractInitializer
org.evolvica.core.init.RandomStringInitializer
Operator that creates random string chromosomes. The purpose of this class is mainly the support of debugging.
Field Summary | |
protected int |
length
Length of the generated strings. |
Fields inherited from class org.evolvica.core.init.AbstractInitializer |
individualBuilder, setSize |
Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
Constructor Summary | |
RandomStringInitializer()
Constructor. |
|
RandomStringInitializer(int stringLength)
Constructor. |
Method Summary | |
protected IGenotype |
createGenotype()
Creates a new genotype. |
int |
getLength()
|
void |
setLength(int length)
Sets the length. |
Methods inherited from class org.evolvica.core.init.AbstractInitializer |
create, createIndividualSet, getIndividualBuilder, getSetSize, setIndividualBuilder, setSetSize |
Methods inherited from class org.evolvica.engine.AbstractOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.evolvica.engine.IOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
Field Detail |
protected int length
Constructor Detail |
public RandomStringInitializer()
public RandomStringInitializer(int stringLength)
stringLength
- length of the strings to be generatedMethod Detail |
protected IGenotype createGenotype()
AbstractInitializer
createGenotype
in class AbstractInitializer
AbstractInitializer.createGenotype()
public int getLength()
public void setLength(int length) throws java.beans.PropertyVetoException
length
- The length to set
java.beans.PropertyVetoException
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |