java.lang.Object
kieker.analysis.generic.graph.clustering.BasicCostFunction<N,E>
- Type Parameters:
N
- node typeE
- edge type
- Direct Known Subclasses:
UserBehaviorCostFunction
public class BasicCostFunction<N extends INode,E extends IEdge>
extends java.lang.Object
Generic cost function implementation for graphs.
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description BasicCostFunction(double nodeInsertionCost, double edgeInsertionCost)
-
Method Summary
Modifier and Type Method Description double
computeEdgeInsertionCost(E edge)
double
computeNodeInsertionCost(N node)
double
edgeAnnotationDistance(E edge1, E edge2)
double
nodeAnnotationDistance(N node1, N node2)
-
Constructor Details
-
BasicCostFunction
public BasicCostFunction(double nodeInsertionCost, double edgeInsertionCost)
-
-
Method Details