org.encog.ca.universe.basic
Class BasicContinuousCell
- java.lang.Object
-
- org.encog.ca.universe.basic.BasicContinuousCell
-
- All Implemented Interfaces:
- java.io.Serializable, ContinuousCell, UniverseCell
public class BasicContinuousCell extends java.lang.Object implements ContinuousCell, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BasicContinuousCell(int size, double theMin, double theMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(UniverseCell otherCell)voidclamp(double low, double high)voidcopy(UniverseCell sourceCell)doubleget(int i)doublegetAvg()voidmultiply(UniverseCell otherCell)voidrandomize()voidset(int i, double d)voidset(int idx, double[] d)intsize()java.lang.StringtoString()
-
-
-
Constructor Detail
-
BasicContinuousCell
public BasicContinuousCell(int size, double theMin, double theMax)
-
-
Method Detail
-
randomize
public void randomize()
- Specified by:
randomizein interfaceUniverseCell
-
copy
public void copy(UniverseCell sourceCell)
- Specified by:
copyin interfaceUniverseCell
-
getAvg
public double getAvg()
- Specified by:
getAvgin interfaceUniverseCell
-
get
public double get(int i)
- Specified by:
getin interfaceUniverseCell
-
set
public void set(int i, double d)- Specified by:
setin interfaceUniverseCell
-
size
public int size()
- Specified by:
sizein interfaceUniverseCell
-
add
public void add(UniverseCell otherCell)
- Specified by:
addin interfaceContinuousCell
-
multiply
public void multiply(UniverseCell otherCell)
- Specified by:
multiplyin interfaceContinuousCell
-
set
public void set(int idx, double[] d)- Specified by:
setin interfaceContinuousCell- Specified by:
setin interfaceUniverseCell
-
clamp
public void clamp(double low, double high)- Specified by:
clampin interfaceContinuousCell
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG