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 vertices
E - The type of the graph's edges
O - 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 Details

    • AbstractEdge

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

    • getSource

      public V getSource()
      Returns the source of this edge.
      Returns:
      See above
    • getTarget

      public V getTarget()
      Returns the target of this edge.
      Returns:
      See above
    • getIdentifier

      public java.lang.String getIdentifier()
      Description copied from class: AbstractGraphElement
      Returns an identifier for this graph element (e.g., a label).
      Specified by:
      getIdentifier in class AbstractGraphElement<O>
      Returns:
      An identifier or null if no identifier can be determined
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object