com.rapidminer.tools.math
Class SimplePeakFinder

java.lang.Object
  extended by com.rapidminer.tools.math.SimplePeakFinder
All Implemented Interfaces:
PeakFinder

public class SimplePeakFinder
extends java.lang.Object
implements PeakFinder

This simple implementation returns a peak if the specified number of neighbors is smaller than the current value.

Author:
Ingo Mierswa

Constructor Summary
SimplePeakFinder(int neighbours)
           
 
Method Summary
 java.util.List<Peak> getPeaks(Peak[] series)
          Returns a list with peaks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePeakFinder

public SimplePeakFinder(int neighbours)
Method Detail

getPeaks

public java.util.List<Peak> getPeaks(Peak[] series)
Returns a list with peaks.

Specified by:
getPeaks in interface PeakFinder


Copyright © 2001-2009 by Rapid-I