Neuroph

org.neuroph.samples.timeseries
Class GenerateSineWave

java.lang.Object
  extended by org.neuroph.samples.timeseries.GenerateSineWave

public class GenerateSineWave
extends java.lang.Object

Very simple class which just wraps up the generation of a sine wave at one degree steps. Just call getNextSample each time you need a new sample. Class internally tracks the angle. See http://neuroph.sourceforge.net/TimeSeriesPredictionTutorial.html


Method Summary
 double getNextSample()
          Gets next sampling value for the sine wave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextSample

public double getNextSample()
Gets next sampling value for the sine wave

Returns:
next sampling value for the sine wave

Neuroph