Class UserBehaviorCostFunction
java.lang.Object
kieker.analysis.generic.graph.clustering.BasicCostFunction<INode,UserBehaviorEdge>
kieker.analysis.behavior.clustering.UserBehaviorCostFunction
public class UserBehaviorCostFunction extends BasicCostFunction<INode,UserBehaviorEdge>
Special cost function for user behavior.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description UserBehaviorCostFunction(double nodeInsertionCost, double edgeInsertionCost, double eventGroupInsertCost, IParameterWeighting parameterWeighting)
-
Method Summary
Modifier and Type Method Description double
computeEdgeInsertionCost(UserBehaviorEdge edge)
double
edgeAnnotationDistance(UserBehaviorEdge edge1, UserBehaviorEdge edge2)
Calculates the distance between two edges.Methods inherited from class kieker.analysis.generic.graph.clustering.BasicCostFunction
computeNodeInsertionCost, nodeAnnotationDistance
-
Constructor Details
-
UserBehaviorCostFunction
public UserBehaviorCostFunction(double nodeInsertionCost, double edgeInsertionCost, double eventGroupInsertCost, IParameterWeighting parameterWeighting)
-
-
Method Details
-
computeEdgeInsertionCost
- Overrides:
computeEdgeInsertionCost
in classBasicCostFunction<INode,UserBehaviorEdge>
-
edgeAnnotationDistance
Calculates the distance between two edges. This includes the distance between the contained eventgroups- Overrides:
edgeAnnotationDistance
in classBasicCostFunction<INode,UserBehaviorEdge>
-