Class RandomGraphGenerator
java.lang.Object
es.uam.eps.ir.relison.examples.graphgen.RandomGraphGenerator
public class RandomGraphGenerator
extends java.lang.Object
Program for generating random graphs.
-
Constructor Summary
Constructors Constructor Description RandomGraphGenerator()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Program that generates a random network.
-
Constructor Details
-
RandomGraphGenerator
public RandomGraphGenerator()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws GeneratorNotConfiguredException, GeneratorBadConfiguredExceptionProgram that generates a random network.- Parameters:
args
- Execution arguments- Output: the file where we want to store the network.
- Directed: true if the graph is directed, false otherwise.
- Algorithm: the graph generation algorithm.
- Number of nodes: the number of nodes.
- Rest of parameters: algorithm parameters.
- Throws:
GeneratorBadConfiguredException
- if the generators are badly configured.GeneratorNotConfiguredException
- if the generators are not configured.
-