public static interface RandomGraphGenerator.EdgeTopologyFactory<VV,EE>
| Modifier and Type | Method and Description | 
|---|---|
| void | createEdges(Graph<VV,EE> targetGraph,
           Map<Integer,VV> orderToVertexMap,
           int numberOfEdges,
           Random randomizer)Two different calls to the createEdges() with the same parameters
 must result in the generation of the same. | 
| boolean | isNumberOfEdgesValid(Graph<VV,EE> targetGraph,
                    int numberOfEdges)Checks if the graph can contain the givven numberOfEdges according to
 the graph type restrictions. | 
void createEdges(Graph<VV,EE> targetGraph, Map<Integer,VV> orderToVertexMap, int numberOfEdges, Random randomizer)
targetGraph - - guranteed to start with zero edges.orderToVertexMap - - key=Integer of vertex order . between zero
 to numOfVertexes (exclusive). value = vertex from the graph. unique.numberOfEdges - - to create in the graphrandomizer - boolean isNumberOfEdgesValid(Graph<VV,EE> targetGraph, int numberOfEdges)
targetGraph - guranteed to start with zero edges.numberOfEdges - Copyright © 2016. All rights reserved.