Interface GraphGenerator<U>
- Type Parameters:
U- Type of the vertices.
- All Known Implementing Classes:
BarabasiGenerator,ComplementaryGraphGenerator,CompleteGraphGenerator,EmptyGraphGenerator,EmptyMultiGraphGenerator,EmptyTreeGenerator,ErdosGenerator,GraphCloneGenerator,NoLinksGraphGenerator,SimpleCommunityGraphGenerator,SubGraphGenerator,TreeCloneGenerator,WattsStrogatzGenerator
public interface GraphGenerator<U>
Generates different graphs.
-
Method Details
-
configure
void configure(java.lang.Object... configuration)Configures the generator.- Parameters:
configuration- An array containing the configuration parameters.
-
generate
Generates a graph.- Returns:
- the generated graph.
- Throws:
GeneratorNotConfiguredException- The generator is not configured.GeneratorBadConfiguredException- The generator parameters are incorretct.
-