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 AbstractWeightedEdge<V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractEdge<V,E,O>
Constructor and Description |
---|
AbstractWeightedEdge(V source,
V target,
O origin,
IOriginRetentionPolicy originPolicy)
Creates a new weighted edge between the given vertices.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.atomic.AtomicInteger |
getSourceWeight()
Return this edge's source weight.
|
java.util.concurrent.atomic.AtomicInteger |
getTargetWeight()
Return this edge's target weight.
|
java.util.concurrent.atomic.AtomicInteger |
getWeight()
Returns this edge's weight.
|
getIdentifier, getSource, getTarget
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription
public AbstractWeightedEdge(V source, V target, O origin, IOriginRetentionPolicy originPolicy)
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 objectpublic java.util.concurrent.atomic.AtomicInteger getSourceWeight()
public java.util.concurrent.atomic.AtomicInteger getTargetWeight()
public java.util.concurrent.atomic.AtomicInteger getWeight()
Copyright 2017 Kieker Project, http://kieker-monitoring.net