Class SameGameGraphSearchProblem
- java.lang.Object
-
- ai.libs.jaicore.search.exampleproblems.samegame.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 Summary
Constructors Constructor Description SameGameGraphSearchProblem(ai.libs.jaicore.problems.samegame.SameGameState initState)SameGameGraphSearchProblem(ai.libs.jaicore.problems.samegame.SameGameState initState, boolean maximize)SameGameGraphSearchProblem(ai.libs.jaicore.problems.samegame.SameGameState initState, boolean maximize, boolean relativeScores)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>getGoalTester()SameGameGraphGeneratorgetGraphGenerator()intgetMaxScore()org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell,java.lang.Double>getPathEvaluator()
-
-
-
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:
getGraphGeneratorin interfaceorg.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:
getGoalTesterin interfaceorg.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:
getPathEvaluatorin interfaceorg.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell,java.lang.Double>
-
getMaxScore
public int getMaxScore()
-
-