public class SimpleWeightedGraphMatrixGenerator<V,E> extends WeightedGraphGeneratorAdapter<V,E,V>
Modifier and Type | Field and Description |
---|---|
protected List<V> |
vertices |
weights
Constructor and Description |
---|
SimpleWeightedGraphMatrixGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateGraph(WeightedGraph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap) |
static int[] |
range(int from,
int to) |
SimpleWeightedGraphMatrixGenerator<V,E> |
vertices(List<V> vertices) |
generateGraph, weights
public static int[] range(int from, int to)
public SimpleWeightedGraphMatrixGenerator<V,E> vertices(List<V> vertices)
public void generateGraph(WeightedGraph<V,E> target, VertexFactory<V> vertexFactory, Map<String,V> resultMap)
generateGraph
in class WeightedGraphGeneratorAdapter<V,E,V>
Copyright © 2016. All rights reserved.