- Type Parameters:
T -
A -
- All Implemented Interfaces:
- GraphGenerator<T,A>
public class ReducedGraphGenerator<T,A>
extends java.lang.Object
implements GraphGenerator<T,A>
Graph generator that uses another graph generator as a basis by reducing the
graph generated by the basis generator so that it does not contain long
chains of nodes anymore, that is successors of a node are skipped while a
node only has 1 successor. Usage: Create a new ReducedGraphGenerator object
and swap all ocurrences of the graph generator it uses as a basis with the
reduced graph generator.