Interface IParameterWeighting
- All Known Implementing Classes:
JPetStoreParameterWeighting
,NaiveParameterWeighting
public interface IParameterWeighting
An interface to assign insertion and duplication costs to events.
- Since:
- 2.0.0
- Author:
- Lars Jürgensen
-
Method Summary
Modifier and Type Method Description double
getDuplicateCost(java.lang.String[] parameterNames)
double
getInsertCost(java.lang.String[] parameterNames)
-
Method Details
-
getInsertCost
double getInsertCost(java.lang.String[] parameterNames)- Parameters:
parameterNames
- The array of parameter names, an event has.- Returns:
- The cost to insert the event with the given parameters
-
getDuplicateCost
double getDuplicateCost(java.lang.String[] parameterNames)- Parameters:
parameterNames
- The array of parameter names, an event has.- Returns:
- The cost to duplicate the event with the given parameters
-