Class AbstractWeightedEdge<V extends AbstractVertex<V,​E,​O>,​E extends AbstractEdge<V,​E,​O>,​O>

java.lang.Object
kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement<O>
kieker.tools.trace.analysis.filter.visualization.graph.AbstractEdge<V,​E,​O>
kieker.tools.trace.analysis.filter.visualization.graph.AbstractWeightedEdge<V,​E,​O>
Type Parameters:
V - The type of the graph's vertices
E - The type of the graph's edges
O - The type of object from which the graph's elements originate
Direct Known Subclasses:
WeightedBidirectionalDependencyGraphEdge, WeightedBidirectionalDependencyGraphEdge, WeightedDirectedCallTreeEdge, WeightedDirectedCallTreeEdge

public abstract class AbstractWeightedEdge<V extends AbstractVertex<V,​E,​O>,​E extends AbstractEdge<V,​E,​O>,​O>
extends AbstractEdge<V,​E,​O>
Abstract superclass for weighted edges in the visualization package. This class provides weights for the edge itself and both source and target ends.
Since:
1.6
  • Constructor Details

    • AbstractWeightedEdge

      public AbstractWeightedEdge​(V source, V target, O origin, IOriginRetentionPolicy originPolicy)
      Creates a new weighted edge between the given vertices.
      Parameters:
      source - The source vertex of the edge
      target - The target vertex of the edge
      origin - The edge's origin object
      originPolicy - The origin policy to use for storing the origin object
  • Method Details

    • getSourceWeight

      public java.util.concurrent.atomic.AtomicInteger getSourceWeight()
      Return this edge's source weight.
      Returns:
      See above
    • getTargetWeight

      public java.util.concurrent.atomic.AtomicInteger getTargetWeight()
      Return this edge's target weight.
      Returns:
      See above
    • getWeight

      public java.util.concurrent.atomic.AtomicInteger getWeight()
      Returns this edge's weight.
      Returns:
      See above