V
- the graph vertex typeE
- the graph edge typeWeightedGraph
is deprecated.@Deprecated public abstract class WeightedGraphGenerator<V,E> extends Object implements GraphGenerator<V,E,V>
Modifier and Type | Field and Description |
---|---|
protected Class<? extends E> |
edgeClass
Deprecated.
|
protected EdgeFactory<V,E> |
edgeFactory
Deprecated.
|
protected double[][] |
weights
Deprecated.
|
Constructor and Description |
---|
WeightedGraphGenerator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
WeightedGraphGenerator<V,E> |
edgeClass(Class<? extends E> edgeClass)
Deprecated.
Set the edge class of the generator
|
WeightedGraphGenerator<V,E> |
edgeFactory(EdgeFactory<V,E> edgeFactory)
Deprecated.
Set the edge factory of the generator
|
WeightedGraphGenerator<V,E> |
weights(double[][] weights)
Deprecated.
Set the weights of the generator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateGraph
protected EdgeFactory<V,E> edgeFactory
protected double[][] weights
public WeightedGraphGenerator<V,E> edgeFactory(EdgeFactory<V,E> edgeFactory)
edgeFactory
- the edge factorypublic WeightedGraphGenerator<V,E> edgeClass(Class<? extends E> edgeClass)
edgeClass
- the edge classpublic WeightedGraphGenerator<V,E> weights(double[][] weights)
weights
- of the generatorCopyright © 2017. All rights reserved.