Class JPetStoreParameterWeighting

java.lang.Object
kieker.analysis.behavior.clustering.JPetStoreParameterWeighting
All Implemented Interfaces:
IParameterWeighting

public final class JPetStoreParameterWeighting
extends java.lang.Object
implements IParameterWeighting
A weighting function, which defines events from the JPetStore a insert and duplication cost.
Since:
2.0.0
Author:
Lars Jürgensen
  • Constructor Summary

    Constructors 
    Constructor Description
    JPetStoreParameterWeighting()  
  • Method Summary

    Modifier and Type Method Description
    double getDuplicateCost​(java.lang.String[] parameterNames)  
    double getInsertCost​(java.lang.String[] parameterNames)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getInsertCost

      public double getInsertCost​(java.lang.String[] parameterNames)
      Specified by:
      getInsertCost in interface IParameterWeighting
      Parameters:
      parameterNames - The array of parameter names, an event has.
      Returns:
      The cost to insert the event with the given parameters
    • getDuplicateCost

      public double getDuplicateCost​(java.lang.String[] parameterNames)
      Specified by:
      getDuplicateCost in interface IParameterWeighting
      Parameters:
      parameterNames - The array of parameter names, an event has.
      Returns:
      The cost to duplicate the event with the given parameters