Class SameGameGraphSearchProblem

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.IPathSearchInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>, org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell,​java.lang.Double>

    public class SameGameGraphSearchProblem
    extends java.lang.Object
    implements org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell,​java.lang.Double>
    • Constructor Detail

      • SameGameGraphSearchProblem

        public SameGameGraphSearchProblem​(ai.libs.jaicore.problems.samegame.SameGameState initState)
      • SameGameGraphSearchProblem

        public SameGameGraphSearchProblem​(ai.libs.jaicore.problems.samegame.SameGameState initState,
                                          boolean maximize)
      • SameGameGraphSearchProblem

        public SameGameGraphSearchProblem​(ai.libs.jaicore.problems.samegame.SameGameState initState,
                                          boolean maximize,
                                          boolean relativeScores)
    • Method Detail

      • getGraphGenerator

        public SameGameGraphGenerator getGraphGenerator()
        Specified by:
        getGraphGenerator in interface org.api4.java.ai.graphsearch.problem.IPathSearchInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>
      • getGoalTester

        public org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell> getGoalTester()
        Specified by:
        getGoalTester in interface org.api4.java.ai.graphsearch.problem.IPathSearchInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell>
      • getPathEvaluator

        public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell,​java.lang.Double> getPathEvaluator()
        Specified by:
        getPathEvaluator in interface org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<SameGameNode,​ai.libs.jaicore.problems.samegame.SameGameCell,​java.lang.Double>
      • getMaxScore

        public int getMaxScore()