public class WeightedGraphImplFactory extends Object implements GraphFactory
| Constructor and Description |
|---|
WeightedGraphImplFactory() |
| Modifier and Type | Method and Description |
|---|---|
Edge |
createEdge(Vertex v1,
Vertex v2)
Factory method to create an Edge.
|
Vertex |
createVertex()
Factory method to create a Vertex.
|
public Vertex createVertex()
GraphFactoryInternally within OpenJGraph, this method is used in the following:
createVertex in interface GraphFactorypublic Edge createEdge(Vertex v1, Vertex v2)
GraphFactoryInternally within OpenJGraph, as of 0.9.0, this method is called in GraphImpl.addEdge( Vertex, Vertex ).
createEdge in interface GraphFactoryCopyright © 2019 JULIE Lab, Germany. All rights reserved.