jmdp.solvers
Class AbstractInfiniteSolver<S extends State,A extends Action>
java.lang.Object
jmdp.solvers.Solver<S,A>
jmdp.solvers.AbstractInfiniteSolver<S,A>
- Direct Known Subclasses:
- AbstractAverageSolver, AbstractDiscountedSolver, AbstractTotalSolver
public abstract class AbstractInfiniteSolver<S extends State,A extends Action>
- extends Solver<S,A>
Structural class to be extended by solvers in order to solve infinite horizon problems
- Author:
- German Riano. Universidad de los Andes. (C) 2005
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractInfiniteSolver
public AbstractInfiniteSolver(DTMDP<S,A> problem)
- Constructor method for Discrete Time Markov Decision Processes to be solved
for discounted cost.
- Parameters:
problem
- Discrete Time Markov Decision Process of type DTMDP
AbstractInfiniteSolver
public AbstractInfiniteSolver(CTMDP<S,A> problem)
- Creates a solver for an infinite horizon continuous time problem
- Parameters:
problem
- continuous time problem
getProblem
public InfiniteMDP<S,A> getProblem()
- Returns the problem associated with this solver.
- Overrides:
getProblem
in class Solver<S extends State,A extends Action>
- Returns:
- the problem associated with this solver.
getDiscreteProblem
protected DTMDP<S,A> getDiscreteProblem()
- Returns:
- discrete time problem
getIterations
public abstract int getIterations()
- Returns:
- Returns the iterations in the last solve..
printSolution
public void printSolution(java.io.PrintWriter pw)
- Description copied from class:
Solver
- Prints the solution on a given print writer.
- Overrides:
printSolution
in class Solver<S extends State,A extends Action>