public final class DirectedWeightedGraphBuilder<V,E,G extends DirectedGraph<V,E> & WeightedGraph<V,E>> extends DirectedWeightedGraphBuilderBase<V,E,G,DirectedWeightedGraphBuilder<V,E,G>>
DirectedWeightedGraphBuilderBase.graph| Constructor and Description | 
|---|
DirectedWeightedGraphBuilder(G baseGraph)
Creates a builder based on  
baseGraph. | 
| Modifier and Type | Method and Description | 
|---|---|
protected DirectedWeightedGraphBuilder<V,E,G> | 
self()  | 
addEdgebuildUnmodifiableaddEdge, addEdgeChain, addGraph, addVertex, addVertices, build, removeEdge, removeVertex, removeVerticespublic DirectedWeightedGraphBuilder(G baseGraph)
baseGraph. baseGraph must be
 mutable.
 The recomended way to use this constructor is: new
 DirectedWeightedGraphBuilder<...>(new YourGraph<...>(...)).
 
NOTE: baseGraph should not be an existing graph. If you want
 to add an existing graph to the graph being built, you should use the
 AbstractGraphBuilder.addVertex(Object) method.
baseGraph - the graph object to base building onprotected DirectedWeightedGraphBuilder<V,E,G> self()
self in class AbstractGraphBuilder<V,E,G extends DirectedGraph<V,E> & WeightedGraph<V,E>,DirectedWeightedGraphBuilder<V,E,G extends DirectedGraph<V,E> & WeightedGraph<V,E>>>this object.Copyright © 2016. All rights reserved.