Class EnsembleTreePolicy<N,A>
- java.lang.Object
-
- ai.libs.jaicore.search.algorithms.standard.mcts.ensemble.EnsembleTreePolicy<N,A>
-
- All Implemented Interfaces:
IGraphDependentPolicy<N,A>,IPathUpdatablePolicy<N,A,java.lang.Double>,IPolicy<N,A,java.lang.Double>
public class EnsembleTreePolicy<N,A> extends java.lang.Object implements IPathUpdatablePolicy<N,A,java.lang.Double>, IGraphDependentPolicy<N,A>
-
-
Constructor Summary
Constructors Constructor Description EnsembleTreePolicy(java.util.Collection<? extends IPathUpdatablePolicy<N,A,java.lang.Double>> treePolicies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgetAction(N node, java.util.Map<A,N> actionsWithSuccessors)voidsetGraph(ai.libs.jaicore.graph.LabeledGraph<N,A> graph)voidupdatePath(org.api4.java.datastructure.graph.ILabeledPath<N,A> path, java.lang.Double playoutScore, int lengthOfPlayoutPath)
-
-
-
Constructor Detail
-
EnsembleTreePolicy
public EnsembleTreePolicy(java.util.Collection<? extends IPathUpdatablePolicy<N,A,java.lang.Double>> treePolicies)
-
-
Method Detail
-
getAction
public A getAction(N node, java.util.Map<A,N> actionsWithSuccessors) throws ActionPredictionFailedException
- Specified by:
getActionin interfaceIPolicy<N,A,java.lang.Double>- Throws:
ActionPredictionFailedException
-
updatePath
public void updatePath(org.api4.java.datastructure.graph.ILabeledPath<N,A> path, java.lang.Double playoutScore, int lengthOfPlayoutPath)
- Specified by:
updatePathin interfaceIPathUpdatablePolicy<N,A,java.lang.Double>
-
-