com.fisincorporated.stockinfoserver
Class TC2000StockInputSynapse

java.lang.Object
  extended byorg.joone.engine.Synapse
      extended byorg.joone.io.StreamInputSynapse
          extended bycom.fisincorporated.stockinfoserver.TC2000StockInputSynapse
All Implemented Interfaces:
org.joone.engine.InputPatternListener, org.joone.util.InputPluginListener, org.joone.io.InputSynapse, org.joone.inspection.Inspectable, org.joone.engine.Learnable, org.joone.engine.LearnableSynapse, org.joone.engine.NeuralElement, org.joone.engine.OutputPatternListener, java.io.Serializable

public class TC2000StockInputSynapse
extends org.joone.io.StreamInputSynapse

Plagarized from YahooFinanceInputSynapse and modified as needed Basically provides same info as YahooFinanceInputSynapse but the stock data is from TC2000 stock program. The TC2000 stock source is meant to eventually be both a data source for Joone program but also for learning Jess

See Also:
Serialized Form

Constructor Summary
TC2000StockInputSynapse()
          Constructor for the TC2000StockInputSynapse object
 
Method Summary
 java.util.TreeSet check()
          Check that there are no errors or problems with the properties of this TC2000StockInputSynapse.
 java.lang.String formatISODate(java.util.Calendar date)
           
 java.lang.String getDateEnd()
          Gets year to end data retrieval from
 java.lang.String getDateStart()
          Gets year to start data retrieval from.
 java.util.Vector[] getStockData()
           
 java.lang.String getSymbol()
          Gets the name of the symbol
 void setDateEnd(java.lang.String newDateEnd)
          Gets the the data to which data is retrieved.
 void setDateStart(java.lang.String newDateStart)
          Gets the the data from which data is retrieved.
 void setSymbol(java.lang.String newSymbol)
          Sets the name of the database jdbc driver.
 
Methods inherited from class org.joone.io.StreamInputSynapse
dataChanged, fwdGet, getAdvancedColumnSelector, getDecimalPoint, getFirstCol, getFirstRow, getInputPatterns, getLastCol, getLastRow, getMaxBufSize, getPlugIn, gotoFirstLine, gotoLine, InspectableTitle, Inspections, isBuffered, isEOF, isStepCounter, numColumns, readAll, reset, resetInput, revPut, setAdvancedColumnSelector, setBuffered, setDecimalPoint, setFirstCol, setFirstRow, setInputPatterns, setLastCol, setLastRow, setMaxBufSize, setPlugin, setPlugIn, setStepCounter
 
Methods inherited from class org.joone.engine.Synapse
addNoise, canCountSteps, fwdPut, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getWeights, initLearner, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, revGet, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TC2000StockInputSynapse

public TC2000StockInputSynapse()
Constructor for the TC2000StockInputSynapse object

Method Detail

getSymbol

public java.lang.String getSymbol()
Gets the name of the symbol

Returns:
The Symbol name

getDateStart

public java.lang.String getDateStart()
Gets year to start data retrieval from.

Returns:
The year to start from

getDateEnd

public java.lang.String getDateEnd()
Gets year to end data retrieval from

Returns:
The year to end on

getStockData

public java.util.Vector[] getStockData()

setSymbol

public void setSymbol(java.lang.String newSymbol)
Sets the name of the database jdbc driver.

Parameters:
newSymbol - The new stock symbol to retrieve the data with.

setDateStart

public void setDateStart(java.lang.String newDateStart)
Gets the the data from which data is retrieved.

Parameters:
newDateStart - The data from which data is retrieved.

setDateEnd

public void setDateEnd(java.lang.String newDateEnd)
Gets the the data to which data is retrieved.

Parameters:
newDateEnd - The date to which data is retrieved.

check

public java.util.TreeSet check()
Check that there are no errors or problems with the properties of this TC2000StockInputSynapse.

Returns:
The TreeSet of errors / problems if any.

formatISODate

public java.lang.String formatISODate(java.util.Calendar date)