Package de.gsi.dataset.testdata.spi
Class RandomWalkFunction
- java.lang.Object
-
- de.gsi.dataset.spi.AbstractStylable<D>
-
- de.gsi.dataset.spi.AbstractDataSet<D>
-
- de.gsi.dataset.spi.AbstractErrorDataSet<D>
-
- de.gsi.dataset.testdata.spi.AbstractTestFunction<RandomWalkFunction>
-
- de.gsi.dataset.testdata.spi.RandomWalkFunction
-
- All Implemented Interfaces:
DataSet,DataSetError,DataSetMetaData,EventSource,TestDataSet<RandomWalkFunction>
public class RandomWalkFunction extends AbstractTestFunction<RandomWalkFunction> implements DataSetError
abstract error data set for graphical testing purposes this implementation generates a random walk (Brownian noise) function.- Author:
- rstein
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.gsi.dataset.DataSetError
DataSetError.ErrorType
-
-
Field Summary
-
Fields inherited from class de.gsi.dataset.spi.AbstractDataSet
dataLabels, dataStyles, editConstraints, lock, metaInfoMap, name, updateListeners, xRange, yRange
-
Fields inherited from interface de.gsi.dataset.DataSetMetaData
TAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT
-
-
Constructor Summary
Constructors Constructor Description RandomWalkFunction(java.lang.String name, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]generateY(int count)generate test data set-
Methods inherited from class de.gsi.dataset.testdata.spi.AbstractTestFunction
generateX, getDataCount, getErrorType, getStyle, getX, getXErrorNegative, getXErrorPositive, getY, getYErrorNegative, getYErrorPositive, update
-
Methods inherited from class de.gsi.dataset.spi.AbstractErrorDataSet
computeLimits, fireInvalidated, getThis, lock, setErrorType, unlock
-
Methods inherited from class de.gsi.dataset.spi.AbstractDataSet
addDataLabel, addDataStyle, binarySearchX, binarySearchY, getDataCount, getDataLabel, getDefaultDataLabel, getEditConstraints, getErrorList, getInfoList, getMetaInfo, getName, getUndefValue, getWarningList, getXIndex, getXMax, getXMin, getXRange, getYIndex, getYMax, getYMin, getYRange, isAutoNotification, minNeigbourSearchX, removeDataLabel, removeStyle, setAutoNotifaction, setEditConstraints, setName, toString, updateEventListener
-
Methods inherited from class de.gsi.dataset.spi.AbstractStylable
getStyle, setStyle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.gsi.dataset.DataSet
getDataCount, getDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, setStyle, unlock
-
Methods inherited from interface de.gsi.dataset.DataSetError
getErrorType, getXErrorNegative, getXErrorNegative, getXErrorPositive, getXErrorPositive, getXErrorsNegative, getXErrorsPositive, getYErrorNegative, getYErrorNegative, getYErrorPositive, getYErrorPositive, getYErrorsNegative, getYErrorsPositive
-
Methods inherited from interface de.gsi.dataset.event.EventSource
addListener, invokeListener, invokeListener, removeListener, updateEventListener
-
Methods inherited from interface de.gsi.dataset.testdata.TestDataSet
fireInvalidated
-
-
-
-
Method Detail
-
generateY
public double[] generateY(int count)
Description copied from interface:TestDataSetgenerate test data set- Specified by:
generateYin interfaceTestDataSet<RandomWalkFunction>- Parameters:
count- number of bins- Returns:
- the generated array
-
-