Class AbstractEdge<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>
- 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:
AbstractWeightedEdge
public abstract class AbstractEdge<V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractGraphElement<O>
Generic superclass for all graph edges in the visualization package.
- Since:
- 1.6
-
Constructor Summary
Constructors Constructor Description AbstractEdge(V source, V target, O origin, IOriginRetentionPolicy originPolicy)Creates a new edge between the given vertices. -
Method Summary
Methods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription
-
Constructor Details
-
AbstractEdge
Creates a new edge between the given vertices.- Parameters:
source- The source vertex of the edgetarget- The target vertex of the edgeorigin- The origin of the edgeoriginPolicy- The origin policy to use
-
-
Method Details
-
getSource
Returns the source of this edge.- Returns:
- See above
-
getTarget
Returns the target of this edge.- Returns:
- See above
-
getIdentifier
public java.lang.String getIdentifier()Description copied from class:AbstractGraphElementReturns an identifier for this graph element (e.g., a label).- Specified by:
getIdentifierin classAbstractGraphElement<O>- Returns:
- An identifier or
nullif no identifier can be determined
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-