org.encog.ca.universe.basic
public class BasicContinuousCell extends Object implements ContinuousCell, Serializable
| Constructor and Description |
|---|
BasicContinuousCell(int size,
double theMin,
double theMax) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(UniverseCell otherCell) |
void |
clamp(double low,
double high) |
void |
copy(UniverseCell sourceCell) |
double |
get(int i) |
double |
getAvg() |
void |
multiply(UniverseCell otherCell) |
void |
randomize() |
void |
set(int i,
double d) |
void |
set(int idx,
double[] d) |
int |
size() |
String |
toString() |
public BasicContinuousCell(int size,
double theMin,
double theMax)
public void randomize()
randomize in interface UniverseCellpublic void copy(UniverseCell sourceCell)
copy in interface UniverseCellpublic double getAvg()
getAvg in interface UniverseCellpublic double get(int i)
get in interface UniverseCellpublic void set(int i,
double d)
set in interface UniverseCellpublic int size()
size in interface UniverseCellpublic void add(UniverseCell otherCell)
add in interface ContinuousCellpublic void multiply(UniverseCell otherCell)
multiply in interface ContinuousCellpublic void set(int idx,
double[] d)
set in interface ContinuousCellset in interface UniverseCellpublic void clamp(double low,
double high)
clamp in interface ContinuousCellCopyright © 2014. All Rights Reserved.