de.jstacs.data
Class DinucleotideProperty.Smoothing
java.lang.Object
de.jstacs.data.DinucleotideProperty.Smoothing
- Direct Known Subclasses:
- DinucleotideProperty.MeanSmoothing, DinucleotideProperty.MedianSmoothing, DinucleotideProperty.NoSmoothing
- Enclosing class:
- DinucleotideProperty
public abstract static class DinucleotideProperty.Smoothing
- extends Object
Abstract class for methods that smooth a series of real values.
- Author:
- Jan Grau
Method Summary |
abstract double[] |
smooth(double[] original)
Returns the smoothed version of original . |
abstract String |
toString()
Returns a String representation of this smoothing method. |
DinucleotideProperty.Smoothing
public DinucleotideProperty.Smoothing()
smooth
public abstract double[] smooth(double[] original)
- Returns the smoothed version of
original
. The length of the returned array and original
may differ.
- Parameters:
original
- the original series of values
- Returns:
- the smoothed version
toString
public abstract String toString()
- Returns a
String
representation of this smoothing method.
- Overrides:
toString
in class Object