|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Pattern
public class Pattern
The pattern object contains the data that must be processed from a neural net. It can contain the input data or the training data.
Constructor Summary | |
---|---|
Pattern()
Default Constructor Added for Save As XML |
|
Pattern(double singleValue)
|
|
Pattern(double[] arr)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
double[] |
getArray()
|
int |
getCount()
|
double[] |
getOutArray()
Getter for property outArray. |
double[] |
getValues()
Getter for property values. |
boolean |
isMarkedAsStoppingPattern()
|
static Pattern |
makeStopPattern(int dim)
|
static Pattern |
makeZeroPattern(int dim)
|
void |
markAsStoppingPattern()
|
void |
setArray(double[] arr)
|
void |
setCount(int n)
|
void |
setOutArray(double[] outArray)
Setter for property outArray. |
void |
setValue(int point,
double value)
|
void |
setValues(double[] values)
Setter for property values. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pattern()
public Pattern(double[] arr)
public Pattern(double singleValue)
Method Detail |
---|
public static Pattern makeZeroPattern(int dim)
public static Pattern makeStopPattern(int dim)
public java.lang.Object clone()
clone
in class java.lang.Object
public double[] getArray()
public int getCount()
public void setArray(double[] arr)
public void setCount(int n)
public void markAsStoppingPattern()
public boolean isMarkedAsStoppingPattern()
public void setValue(int point, double value)
public double[] getOutArray()
public void setOutArray(double[] outArray)
outArray
- New value of property outArray.public double[] getValues()
public void setValues(double[] values)
values
- New value of property values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |