|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.data.temporal.TemporalPoint
public class TemporalPoint
A temporal point is all of the data captured at one point in time to be used for prediction. One or more data items might be captured at this point. The TemporalDataDescription class is used to describe each of these data items captured at each point.
Constructor Summary | |
---|---|
TemporalPoint(int size)
Construct a temporal point of the specified size. |
Method Summary | |
---|---|
int |
compareTo(TemporalPoint that)
|
double[] |
getData()
|
double |
getData(int index)
Get the data at the specified index. |
int |
getSequence()
|
void |
setData(double[] data)
|
void |
setData(int index,
double d)
Set the data at the specified index. |
void |
setSequence(int sequence)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemporalPoint(int size)
size
- The size to create the temporal point for.Method Detail |
---|
public int compareTo(TemporalPoint that)
compareTo
in interface Comparable<TemporalPoint>
public double[] getData()
public double getData(int index)
index
- The index to get the data at.
public int getSequence()
public void setData(double[] data)
data
- the data to setpublic void setData(int index, double d)
index
- The index to set the data at.d
- The data to set.public void setSequence(int sequence)
sequence
- the sequence to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |