Class NoisyMeanTreasureModel
- java.lang.Object
-
- ai.libs.jaicore.search.syntheticgraphs.treasuremodels.islands.AIslandTreasureModel
-
- ai.libs.jaicore.search.syntheticgraphs.treasuremodels.islands.noisymean.NoisyMeanTreasureModel
-
- Type Parameters:
N
-
- All Implemented Interfaces:
ITreasureModel
,org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ITransparentTreeNode,java.lang.Integer,java.lang.Double>
,org.api4.java.common.attributedobjects.IGetter<org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer>,java.lang.Double>
,org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer>,java.lang.Double>
,org.api4.java.common.control.ILoggingCustomizable
- Direct Known Subclasses:
ChaoticMeansTreasureModel
,LinkedTreasureIslandPathCostGenerator
public abstract class NoisyMeanTreasureModel extends AIslandTreasureModel implements ITreasureModel
In this model, every island has a mean, and the scores are distributed closely around this mean. The mean itself is defined by a more concrete subclass.
-
-
Field Summary
-
Fields inherited from class ai.libs.jaicore.search.syntheticgraphs.treasuremodels.islands.AIslandTreasureModel
logger
-
-
Constructor Summary
Constructors Constructor Description NoisyMeanTreasureModel(IIslandModel islandModel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Double
evaluate(org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer> path)
abstract double
getMeanOfIsland(java.math.BigInteger island)
-
Methods inherited from class ai.libs.jaicore.search.syntheticgraphs.treasuremodels.islands.AIslandTreasureModel
getIsland, getIslandModel, getIslandSize, getLoggerName, getPositionOnIsland, getTotalNumberOfIslands, setLoggerName
-
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.common.control.ILoggingCustomizable
getLoggerName, setLoggerName
-
Methods inherited from interface org.api4.java.common.attributedobjects.IObjectEvaluator
getPropertyOf
-
Methods inherited from interface ai.libs.jaicore.search.syntheticgraphs.treasuremodels.ITreasureModel
getMinimumAchievable, isPathToTreasureIsland
-
-
-
-
Constructor Detail
-
NoisyMeanTreasureModel
public NoisyMeanTreasureModel(IIslandModel islandModel)
-
-
Method Detail
-
getMeanOfIsland
public abstract double getMeanOfIsland(java.math.BigInteger island)
-
evaluate
public java.lang.Double evaluate(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:
evaluate
in interfaceorg.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<ITransparentTreeNode,java.lang.Integer>,java.lang.Double>
- Specified by:
evaluate
in interfaceorg.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<ITransparentTreeNode,java.lang.Integer,java.lang.Double>
- Throws:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
java.lang.InterruptedException
-
-