org.joone.engine
Class Pattern
- java.lang.Object
-
- org.joone.engine.Pattern
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Pattern extends java.lang.Object implements java.lang.Cloneable, java.io.SerializableThe pattern object contains the data that must be processed from a neural net. It can contain the input data or the training data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Pattern()Default Constructor Added for Save As XMLPattern(double[] arr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()double[]getArray()intgetCount()double[]getOutArray()Getter for property outArray.double[]getValues()Getter for property values.voidsetArray(double[] arr)voidsetCount(int n)voidsetOutArray(double[] outArray)Setter for property outArray.voidsetValue(int point, double value)voidsetValues(double[] values)Setter for property values.
-
-
-
Constructor Detail
-
Pattern
public Pattern()
Default Constructor Added for Save As XML
-
Pattern
public Pattern(double[] arr)
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
getArray
public double[] getArray()
-
getCount
public int getCount()
-
setArray
public void setArray(double[] arr)
-
setCount
public void setCount(int n)
-
setValue
public void setValue(int point, double value)
-
getOutArray
public double[] getOutArray()
Getter for property outArray.- Returns:
- Value of property outArray.
-
setOutArray
public void setOutArray(double[] outArray)
Setter for property outArray.- Parameters:
outArray- New value of property outArray.
-
getValues
public double[] getValues()
Getter for property values. Added for XML serialization- Returns:
- Value of property values.
-
setValues
public void setValues(double[] values)
Setter for property values. Added for XML serialization- Parameters:
values- New value of property values.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG