Class RandomTreeSearchProblem
- java.lang.Object
-
- ai.libs.jaicore.search.exampleproblems.randomtrees.RandomTreeSearchProblem
-
- All Implemented Interfaces:
org.api4.java.ai.graphsearch.problem.IPathSearchInput<java.util.List<java.lang.Integer>,java.lang.Integer>,org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double>
public class RandomTreeSearchProblem extends java.lang.Object implements org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description RandomTreeSearchProblem(int b, int d, long seed, int maxPerDepth, boolean scoresPerEdge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetB()intgetD()org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,java.lang.Integer>getGg()org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<java.util.List<java.lang.Integer>,java.lang.Integer>getGoalTester()org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,java.lang.Integer>getGraphGenerator()org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<java.util.List<java.lang.Integer>,java.lang.Integer>getGt()org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double>getPathEvaluator()org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double>getSe()longgetSeed()booleanisScoresPerEdge()
-
-
-
Method Detail
-
getGraphGenerator
public org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,java.lang.Integer> getGraphGenerator()
- Specified by:
getGraphGeneratorin interfaceorg.api4.java.ai.graphsearch.problem.IPathSearchInput<java.util.List<java.lang.Integer>,java.lang.Integer>
-
getGoalTester
public org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<java.util.List<java.lang.Integer>,java.lang.Integer> getGoalTester()
- Specified by:
getGoalTesterin interfaceorg.api4.java.ai.graphsearch.problem.IPathSearchInput<java.util.List<java.lang.Integer>,java.lang.Integer>
-
getPathEvaluator
public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double> getPathEvaluator()
- Specified by:
getPathEvaluatorin interfaceorg.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double>
-
getB
public int getB()
-
getD
public int getD()
-
getGg
public org.api4.java.datastructure.graph.implicit.IGraphGenerator<java.util.List<java.lang.Integer>,java.lang.Integer> getGg()
-
getGt
public org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<java.util.List<java.lang.Integer>,java.lang.Integer> getGt()
-
getSe
public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<java.util.List<java.lang.Integer>,java.lang.Integer,java.lang.Double> getSe()
-
isScoresPerEdge
public boolean isScoresPerEdge()
-
getSeed
public long getSeed()
-
-