de.jstacs.data
Class DinucleotideProperty.Smoothing

java.lang.Object
  extended by 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

Constructor Summary
DinucleotideProperty.Smoothing()
           
 
Method Summary
abstract  double[] smooth(double[] original)
          Returns the smoothed version of original.
abstract  String toString()
          Returns a String representation of this smoothing method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DinucleotideProperty.Smoothing

public DinucleotideProperty.Smoothing()
Method Detail

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