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 UniverseCell
public void copy(UniverseCell sourceCell)
copy
in interface UniverseCell
public double getAvg()
getAvg
in interface UniverseCell
public double get(int i)
get
in interface UniverseCell
public void set(int i, double d)
set
in interface UniverseCell
public int size()
size
in interface UniverseCell
public void add(UniverseCell otherCell)
add
in interface ContinuousCell
public void multiply(UniverseCell otherCell)
multiply
in interface ContinuousCell
public void set(int idx, double[] d)
set
in interface ContinuousCell
set
in interface UniverseCell
public void clamp(double low, double high)
clamp
in interface ContinuousCell
Copyright © 2014. All Rights Reserved.