public abstract class WeightedGraphGenerator<V,E> extends Object implements GraphGenerator<V,E,V>
Modifier and Type | Field and Description |
---|---|
protected Class<? extends E> |
edgeClass |
protected EdgeFactory<V,E> |
edgeFactory |
protected double[][] |
weights |
Constructor and Description |
---|
WeightedGraphGenerator() |
Modifier and Type | Method and Description |
---|---|
WeightedGraphGenerator<V,E> |
edgeClass(Class<? extends E> edgeClass) |
WeightedGraphGenerator<V,E> |
edgeFactory(EdgeFactory<V,E> edgeFactory) |
WeightedGraphGenerator<V,E> |
weights(double[][] weights) |
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)
public WeightedGraphGenerator<V,E> edgeClass(Class<? extends E> edgeClass)
public WeightedGraphGenerator<V,E> weights(double[][] weights)
Copyright © 2016. All rights reserved.