public class TrackingEdgeCreator
Type Params | Return Type | Name and description |
---|---|---|
|
TrackingEdge<T> |
createEdge(T source, T target, boolean isDirected, double weight) Creates an Edge with the specified source, target, direction and weight. |
|
Class<TrackingEdge> |
getEdgeType() Gets the edge type produced by this EdgeCreator. |
Creates an Edge with the specified source, target, direction and weight.
source
- the edge sourcetarget
- the edge targetisDirected
- whether or not the edge is directedweight
- the weight of the edgeGets the edge type produced by this EdgeCreator.