Class SameGameGoalPredicate

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>, org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>

    public class SameGameGoalPredicate
    extends java.lang.Object
    implements org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isGoal​(SameGameNode node)  
      • 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

      • SameGameGoalPredicate

        public SameGameGoalPredicate()
    • Method Detail

      • isGoal

        public boolean isGoal​(SameGameNode node)
        Specified by:
        isGoal in interface org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.INodeGoalTester<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>