Class DegeneratedGraphSearchWithPathEvaluationsProblem
- java.lang.Object
-
- ai.libs.jaicore.search.probleminputs.GraphSearchInput<N,A>
-
- ai.libs.jaicore.search.probleminputs.GraphSearchWithPathEvaluationsInput<ITransparentTreeNode,java.lang.Integer,java.lang.Double>
-
- ai.libs.jaicore.search.syntheticgraphs.graphmodels.degenerated.DegeneratedGraphSearchWithPathEvaluationsProblem
-
- All Implemented Interfaces:
ISyntheticTreasureIslandProblem
,org.api4.java.ai.graphsearch.problem.IPathSearchInput<ITransparentTreeNode,java.lang.Integer>
,org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<ITransparentTreeNode,java.lang.Integer,java.lang.Double>
public class DegeneratedGraphSearchWithPathEvaluationsProblem extends GraphSearchWithPathEvaluationsInput<ITransparentTreeNode,java.lang.Integer,java.lang.Double> implements ISyntheticTreasureIslandProblem
-
-
Constructor Summary
Constructors Constructor Description DegeneratedGraphSearchWithPathEvaluationsProblem(java.util.Random random, int deadEndsPerGeneration, int branchingFactor, int depth, int maxIslandSize, int numberOfIslandsWithTreasure, IIslandModel islandModel, ITreasureModel treasureModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExpectedNumberOfIslands()
DegeneratedGraphGeneratorGenerator.DegeneratedGraphGenerator
getGraphGenerator()
IIslandModel
getIslandModel()
int
getMaximumIslandSizes()
int
getMinimumIslandSizes()
int
getNumberOfTreasureIslands()
boolean
isPathATreasure(org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer> path)
-
Methods inherited from class ai.libs.jaicore.search.probleminputs.GraphSearchWithPathEvaluationsInput
getPathEvaluator, toString
-
Methods inherited from class ai.libs.jaicore.search.probleminputs.GraphSearchInput
getGoalTester
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
DegeneratedGraphSearchWithPathEvaluationsProblem
public DegeneratedGraphSearchWithPathEvaluationsProblem(java.util.Random random, int deadEndsPerGeneration, int branchingFactor, int depth, int maxIslandSize, int numberOfIslandsWithTreasure, IIslandModel islandModel, ITreasureModel treasureModel)
-
-
Method Detail
-
getGraphGenerator
public DegeneratedGraphGeneratorGenerator.DegeneratedGraphGenerator getGraphGenerator()
- Specified by:
getGraphGenerator
in interfaceorg.api4.java.ai.graphsearch.problem.IPathSearchInput<ITransparentTreeNode,java.lang.Integer>
- Overrides:
getGraphGenerator
in classGraphSearchInput<ITransparentTreeNode,java.lang.Integer>
-
getIslandModel
public IIslandModel getIslandModel()
- Specified by:
getIslandModel
in interfaceISyntheticTreasureIslandProblem
-
getExpectedNumberOfIslands
public int getExpectedNumberOfIslands()
- Specified by:
getExpectedNumberOfIslands
in interfaceISyntheticTreasureIslandProblem
-
getMaximumIslandSizes
public int getMaximumIslandSizes()
- Specified by:
getMaximumIslandSizes
in interfaceISyntheticTreasureIslandProblem
-
getMinimumIslandSizes
public int getMinimumIslandSizes()
- Specified by:
getMinimumIslandSizes
in interfaceISyntheticTreasureIslandProblem
-
getNumberOfTreasureIslands
public int getNumberOfTreasureIslands()
- Specified by:
getNumberOfTreasureIslands
in interfaceISyntheticTreasureIslandProblem
-
isPathATreasure
public boolean isPathATreasure(org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer> path) throws org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException, java.lang.InterruptedException
- Specified by:
isPathATreasure
in interfaceISyntheticTreasureIslandProblem
- Throws:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
java.lang.InterruptedException
-
-