org.jgrapht.generate
Class SimpleWeightedGraphMatrixGenerator<V,E>
java.lang.Object
org.jgrapht.generate.WeightedGraphGeneratorAdapter<V,E,V>
org.jgrapht.generate.SimpleWeightedGraphMatrixGenerator<V,E>
- All Implemented Interfaces:
- GraphGenerator<V,E,V>
public class SimpleWeightedGraphMatrixGenerator<V,E>
- extends WeightedGraphGeneratorAdapter<V,E,V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vertices
protected List<V> vertices
SimpleWeightedGraphMatrixGenerator
public SimpleWeightedGraphMatrixGenerator()
range
public static int[] range(int from,
int to)
vertices
public SimpleWeightedGraphMatrixGenerator<V,E> vertices(List<V> vertices)
generateGraph
public void generateGraph(WeightedGraph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
- Specified by:
generateGraph
in class WeightedGraphGeneratorAdapter<V,E,V>
Copyright © 2013. All rights reserved.