simbad.picoevo.ext.representation
Class Element_StaticArray_Double

java.lang.Object
  extended by simbad.picoevo.core.representation.EvolutionObject
      extended by simbad.picoevo.core.representation.Element
          extended by simbad.picoevo.ext.representation.Element_Array
              extended by simbad.picoevo.ext.representation.Element_StaticArray_Double
All Implemented Interfaces:
java.lang.Cloneable, InitialisationInterface

public class Element_StaticArray_Double
extends Element_Array


Field Summary
protected  double[] _array
           
 
Fields inherited from class simbad.picoevo.ext.representation.Element_Array
_initGenotypeLength
 
Fields inherited from class simbad.picoevo.core.representation.Element
_individualOwner
 
Fields inherited from class simbad.picoevo.core.representation.EvolutionObject
_memoryModule, _name, _variationOperatorList
 
Constructor Summary
Element_StaticArray_Double(Individual __individualOwner, java.util.ArrayList __elementLevelOperatorList)
           
Element_StaticArray_Double(Individual __individualOwner, java.util.ArrayList __elementLevelOperatorList, int __size)
           
Element_StaticArray_Double(java.lang.String __name, Individual __individualSpace, java.util.ArrayList __elementLevelOperatorList)
           
Element_StaticArray_Double(java.lang.String __name, Individual __individualSpace, java.util.ArrayList __elementLevelOperatorList, int __size)
           
 
Method Summary
 void displayInformation()
           
 java.lang.Object getArray()
          return a *copy* of bitList (i.e.
 void setArray(java.lang.Object __array)
          copy array values into the internal array (genotype) - parameter should be a boolean[]
 
Methods inherited from class simbad.picoevo.ext.representation.Element_Array
getInitGenotypeLength, setInitGenotypeLength
 
Methods inherited from class simbad.picoevo.core.representation.Element
clone, getOwner, getTemplate, performInitialisation, performVariations, setOwner, trace
 
Methods inherited from class simbad.picoevo.core.representation.EvolutionObject
addOperator, addOperatorList, getDisplayInformation, getName, getVariationOperator, getVariationOperatorList, getVariationOperatorListSize, performLevelVariations, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_array

protected double[] _array
Constructor Detail

Element_StaticArray_Double

public Element_StaticArray_Double(Individual __individualOwner,
                                  java.util.ArrayList __elementLevelOperatorList)

Element_StaticArray_Double

public Element_StaticArray_Double(java.lang.String __name,
                                  Individual __individualSpace,
                                  java.util.ArrayList __elementLevelOperatorList)

Element_StaticArray_Double

public Element_StaticArray_Double(Individual __individualOwner,
                                  java.util.ArrayList __elementLevelOperatorList,
                                  int __size)

Element_StaticArray_Double

public Element_StaticArray_Double(java.lang.String __name,
                                  Individual __individualSpace,
                                  java.util.ArrayList __elementLevelOperatorList,
                                  int __size)
Method Detail

getArray

public java.lang.Object getArray()
return a *copy* of bitList (i.e. *not* a pointer to the original list) - return value is a double[]

Specified by:
getArray in class Element_Array
Parameters:
__bitList -

setArray

public void setArray(java.lang.Object __array)
copy array values into the internal array (genotype) - parameter should be a boolean[]

Specified by:
setArray in class Element_Array
Parameters:
__array -

displayInformation

public void displayInformation()
Overrides:
displayInformation in class Element