Class NaiveParameterWeighting
java.lang.Object
kieker.analysis.behavior.clustering.NaiveParameterWeighting
- All Implemented Interfaces:
IParameterWeighting
public class NaiveParameterWeighting extends java.lang.Object implements IParameterWeighting
Naive weighting for parameter. Essentially, it ignores them.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description NaiveParameterWeighting() -
Method Summary
Modifier and Type Method Description doublegetDuplicateCost(java.lang.String[] parameterNames)doublegetInsertCost(java.lang.String[] parameterNames)
-
Constructor Details
-
NaiveParameterWeighting
public NaiveParameterWeighting()
-
-
Method Details
-
getInsertCost
public double getInsertCost(java.lang.String[] parameterNames)- Specified by:
getInsertCostin interfaceIParameterWeighting- 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:
getDuplicateCostin interfaceIParameterWeighting- Parameters:
parameterNames- The array of parameter names, an event has.- Returns:
- The cost to duplicate the event with the given parameters
-