java.lang.Object
org.tweetyproject.machinelearning.rl.mdp.algorithms.OfflineAlgorithm<S,A>
org.tweetyproject.machinelearning.rl.mdp.algorithms.PolicyIteration<S,A>
- Type Parameters:
S
- The type of statesA
- The type of actions
The policy iteration algorithm for determining optimal policies
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionCreates a new instance of the policy iteration algorithm, which uses the given policy evaluation algorithm. -
Method Summary
Methods inherited from class org.tweetyproject.machinelearning.rl.mdp.algorithms.OfflineAlgorithm
getPolicy
-
Constructor Details
-
PolicyIteration
Creates a new instance of the policy iteration algorithm, which uses the given policy evaluation algorithm.- Parameters:
pe
- some policy evaluation algorithm.
-
-
Method Details
-
getPolicy
Description copied from class:OfflineAlgorithm
Determines the optimal policy for the given MDP.
-