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 verticesE- The type of the graph's edgesO- 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 Summary
Constructors Constructor Description AbstractWeightedEdge(V source, V target, O origin, IOriginRetentionPolicy originPolicy)Creates a new weighted edge between the given vertices. -
Method Summary
Modifier and Type Method Description java.util.concurrent.atomic.AtomicIntegergetSourceWeight()Return this edge's source weight.java.util.concurrent.atomic.AtomicIntegergetTargetWeight()Return this edge's target weight.java.util.concurrent.atomic.AtomicIntegergetWeight()Returns this edge's weight.Methods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractEdge
getIdentifier, getSource, getTarget, toStringMethods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription
-
Constructor Details
-
AbstractWeightedEdge
Creates a new weighted edge between the given vertices.- Parameters:
source- The source vertex of the edgetarget- The target vertex of the edgeorigin- The edge's origin objectoriginPolicy- 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
-