Class RandomTreeGraphGenerator

  • All Implemented Interfaces:
    org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer>

    public class RandomTreeGraphGenerator
    extends java.lang.Object
    implements org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer>
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomTreeGraphGenerator​(int b, int d, long seed, int maxPerDepth)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.api4.java.datastructure.graph.implicit.ISingleRootGenerator<java.util.List<java.lang.Integer>> getRootGenerator()  
      org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer> getSuccessorGenerator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RandomTreeGraphGenerator

        public RandomTreeGraphGenerator​(int b,
                                        int d,
                                        long seed,
                                        int maxPerDepth)
    • Method Detail

      • getRootGenerator

        public org.api4.java.datastructure.graph.implicit.ISingleRootGenerator<java.util.List<java.lang.Integer>> getRootGenerator()
        Specified by:
        getRootGenerator in interface org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer>
      • getSuccessorGenerator

        public org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer> getSuccessorGenerator()
        Specified by:
        getSuccessorGenerator in interface org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,​java.lang.Integer>