org.hackystat.telemetry.analyzer.function.impl
Class FilterFunction.SimpleDeltaRankFunction

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.function.impl.FilterFunction.SimpleDeltaRankFunction
All Implemented Interfaces:
FilterFunction.RankFunction
Enclosing class:
FilterFunction

static class FilterFunction.SimpleDeltaRankFunction
extends java.lang.Object
implements FilterFunction.RankFunction

A rank function using the different between the last data point and the first data point as criteria. Note that this rank value may be negative if the last

Author:
(Cedric) Qin ZHANG

Constructor Summary
FilterFunction.SimpleDeltaRankFunction()
           
 
Method Summary
 double getRank(TelemetryStream stream)
          Computes the sum of delta of a telemetry stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterFunction.SimpleDeltaRankFunction

FilterFunction.SimpleDeltaRankFunction()
Method Detail

getRank

public double getRank(TelemetryStream stream)
Computes the sum of delta of a telemetry stream.

Specified by:
getRank in interface FilterFunction.RankFunction
Parameters:
stream - A telemetry stream.
Returns:
The delta sum.