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 doublecomputeEdgeInsertionCost(E edge)doublecomputeNodeInsertionCost(N node)doubleedgeAnnotationDistance(E edge1, E edge2)doublenodeAnnotationDistance(N node1, N node2)
-
Constructor Details
-
BasicCostFunction
public BasicCostFunction(double nodeInsertionCost, double edgeInsertionCost)
-
-
Method Details