|
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.core.AbstractGene
org.evolvica.core.FloatArrayGene
Gene holding an array of floats.
Field Summary | |
protected float[] |
value
Array of floats. |
Constructor Summary | |
FloatArrayGene(float[] value)
Constructor. |
Method Summary | |
IGenotype |
copy()
Creates a complete copy of this genotype (optional operation). |
float[] |
getValue()
Returns the value. |
void |
setValue(float[] value)
Sets the value. |
int |
size()
Returns the size of the float array. |
java.lang.String |
toString()
Returns a string representation of this genotype. |
Methods inherited from class org.evolvica.core.AbstractGene |
getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected float[] value
Constructor Detail |
public FloatArrayGene(float[] value)
value
- array of floatsMethod Detail |
public float[] getValue()
public void setValue(float[] value)
value
- The value to setpublic IGenotype copy()
IGenotype
IGenotype.copy()
public int size()
public java.lang.String toString()
IGenotype
Object.toString()
|
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 |