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 originatepublic abstract class AbstractEdge<V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractGraphElement<O>
Constructor and Description |
---|
AbstractEdge(V source,
V target,
O origin,
IOriginRetentionPolicy originPolicy)
Creates a new edge between the given vertices.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier()
Returns an identifier for this graph element (e.g., a label).
|
V |
getSource()
Returns the source of this edge.
|
V |
getTarget()
Returns the target of this edge.
|
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription
public AbstractEdge(V source, V target, O origin, IOriginRetentionPolicy originPolicy)
source
- The source vertex of the edgetarget
- The target vertex of the edgeorigin
- The origin of the edgeoriginPolicy
- The origin policy to usepublic V getSource()
public V getTarget()
public java.lang.String getIdentifier()
AbstractGraphElement
getIdentifier
in class AbstractGraphElement<O>
null
if no identifier can be determinedCopyright 2017 Kieker Project, http://kieker-monitoring.net