jmarkov.jmdp.solvers
Class AbstractFiniteSolver<S extends State,A extends Action>

java.lang.Object
  extended by jmarkov.jmdp.solvers.Solver<S,A>
      extended by jmarkov.jmdp.solvers.AbstractFiniteSolver<S,A>
Type Parameters:
S - State class
A - Action class
All Implemented Interfaces:
JMarkovElement
Direct Known Subclasses:
FiniteSolver

public abstract class AbstractFiniteSolver<S extends State,A extends Action>
extends Solver<S,A>

Structural class for solvers to extend in order to solve finite horizon problems.

Author:
Andrés Sarmiento, Germán Riaño. Universidad de los Andes. (C) 2005

Field Summary
 
Fields inherited from class jmarkov.jmdp.solvers.Solver
policy, printProcessTime, printValueFunction, problem, solved, valueFunction
 
Constructor Summary
protected AbstractFiniteSolver(FiniteMDP<S,A> problem)
           
 
Method Summary
 FiniteMDP<S,A> getProblem()
          Returns the problem associated wit this solver.
 
Methods inherited from class jmarkov.jmdp.solvers.Solver
description, getOptimalPolicy, getOptimalValueFunction, getProcessTime, getValueFunction, isSolved, label, printSolution, printSolution, setPrintProcessTime, setPrintValueFunction, solve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jmarkov.basic.JMarkovElement
equals
 

Constructor Detail

AbstractFiniteSolver

protected AbstractFiniteSolver(FiniteMDP<S,A> problem)
Parameters:
problem - finite horizon problem to be solved
Method Detail

getProblem

public FiniteMDP<S,A> getProblem()
Returns the problem associated wit this solver.

Overrides:
getProblem in class Solver<S extends State,A extends Action>
Returns:
the problem associated wit this solver.