Kieker 1.12

kieker.tools.opad.filter
Class AnomalyScoreCalculationFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.tools.opad.filter.AnomalyScoreCalculationFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

public class AnomalyScoreCalculationFilter
extends AbstractFilterPlugin

This filter calculates the anomaly score based on the distance between the forecasted and the actual value.

Since:
1.9
Author:
Tillmann Carlos Bielefeld

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static java.lang.String INPUT_PORT_CURRENT_FORECAST_PAIR
           
static java.lang.String OUTPUT_PORT_ANOMALY_SCORE
           
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext
 
Constructor Summary
AnomalyScoreCalculationFilter(Configuration configuration, IProjectContext projectContext)
           
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 void inputForecastAndMeasurement(IForecastMeasurementPair fmp)
          Representing the input port for pairs of measurements and forecasts.
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

INPUT_PORT_CURRENT_FORECAST_PAIR

public static final java.lang.String INPUT_PORT_CURRENT_FORECAST_PAIR
See Also:
Constant Field Values

OUTPUT_PORT_ANOMALY_SCORE

public static final java.lang.String OUTPUT_PORT_ANOMALY_SCORE
See Also:
Constant Field Values
Constructor Detail

AnomalyScoreCalculationFilter

public AnomalyScoreCalculationFilter(Configuration configuration,
                                     IProjectContext projectContext)
Method Detail

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from class: AbstractAnalysisComponent
This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.

Specified by:
getCurrentConfiguration in interface IAnalysisComponent
Specified by:
getCurrentConfiguration in interface IPlugin
Specified by:
getCurrentConfiguration in class AbstractAnalysisComponent
Returns:
A completely filled configuration object.

inputForecastAndMeasurement

public void inputForecastAndMeasurement(IForecastMeasurementPair fmp)
Representing the input port for pairs of measurements and forecasts.

Parameters:
fmp - Pair consisting of measurement and forecast

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net