org.encog.ml.data.market
Class MarketPoint

java.lang.Object
  extended by org.encog.ml.data.temporal.TemporalPoint
      extended by org.encog.ml.data.market.MarketPoint
All Implemented Interfaces:
Comparable<TemporalPoint>

public class MarketPoint
extends TemporalPoint

Hold one market datapoint. This class is based on the TemporalPoint, however it is designed to take its sequence number from a date.

Author:
jheaton

Constructor Summary
MarketPoint(Date when, int size)
          Construct a MarketPoint with the specified date and size.
 
Method Summary
 Date getWhen()
           
 
Methods inherited from class org.encog.ml.data.temporal.TemporalPoint
compareTo, getData, getData, getSequence, setData, setData, setSequence, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarketPoint

public MarketPoint(Date when,
                   int size)
Construct a MarketPoint with the specified date and size.

Parameters:
when - When is this data from.
size - What is the size of the data.
Method Detail

getWhen

public Date getWhen()
Returns:
the when


Copyright © 2014. All Rights Reserved.