Class NQueensGraphGenerator

  • All Implemented Interfaces:
    org.api4.java.datastructure.graph.implicit.IGraphGenerator<QueenNode,​java.lang.String>

    public class NQueensGraphGenerator
    extends java.lang.Object
    implements org.api4.java.datastructure.graph.implicit.IGraphGenerator<QueenNode,​java.lang.String>
    • Method Summary

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

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

      • NQueensGraphGenerator

        public NQueensGraphGenerator​(int dimension)
    • Method Detail

      • getRootGenerator

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

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