Class BasicCostFunction<N extends INode,E extends IEdge>

java.lang.Object
kieker.analysis.generic.graph.clustering.BasicCostFunction<N,E>
Type Parameters:
N - node type
E - edge type
Direct Known Subclasses:
UserBehaviorCostFunction

public class BasicCostFunction<N extends INode,E extends IEdge> extends Object
Generic cost function implementation for graphs.
Author:
Reiner Jung
  • Constructor Details

    • BasicCostFunction

      public BasicCostFunction(double nodeInsertionCost, double edgeInsertionCost)
  • Method Details

    • computeNodeInsertionCost

      public double computeNodeInsertionCost(N node)
    • computeEdgeInsertionCost

      public double computeEdgeInsertionCost(E edge)
    • nodeAnnotationDistance

      public double nodeAnnotationDistance(N node1, N node2)
    • edgeAnnotationDistance

      public double edgeAnnotationDistance(E edge1, E edge2)