Class EnsembleTreePolicy<N,A>
- java.lang.Object
-
- ai.libs.jaicore.search.algorithms.mdp.mcts.ensemble.EnsembleTreePolicy<N,A>
-
- All Implemented Interfaces:
IGraphDependentPolicy<N,A>,IPathUpdatablePolicy<N,A,java.lang.Double>,IPolicy<N,A>
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.Collection<A> actions)voidsetGraph(ai.libs.jaicore.graph.LabeledGraph<N,A> graph)voidupdatePath(org.api4.java.datastructure.graph.ILabeledPath<N,A> path, java.util.List<java.lang.Double> scores)
-
-
-
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.Collection<A> actions) throws ActionPredictionFailedException, java.lang.InterruptedException
- Specified by:
getActionin interfaceIPolicy<N,A>- Throws:
ActionPredictionFailedExceptionjava.lang.InterruptedException
-
updatePath
public void updatePath(org.api4.java.datastructure.graph.ILabeledPath<N,A> path, java.util.List<java.lang.Double> scores)
- Specified by:
updatePathin interfaceIPathUpdatablePolicy<N,A,java.lang.Double>
-
-