Class NQueensGoalPredicate

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<QueenNode,​java.lang.String>, org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<QueenNode,​java.lang.String>

    public class NQueensGoalPredicate
    extends java.lang.Object
    implements org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<QueenNode,​java.lang.String>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isGoal​(QueenNode n)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester

        isGoal
    • Constructor Detail

      • NQueensGoalPredicate

        public NQueensGoalPredicate​(int dimension)
    • Method Detail

      • isGoal

        public boolean isGoal​(QueenNode n)
        Specified by:
        isGoal in interface org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<QueenNode,​java.lang.String>