|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmdp.solvers.Solver<S,A>
jmdp.solvers.AbstractInfiniteSolver<S,A>
jmdp.solvers.AbstractAverageSolver<S,A>
jmdp.solvers.RelativeValueIterationSolver<S,A>
S
- stateA
- actionpublic class RelativeValueIterationSolver<S extends State,A extends Action>
This class solves the average cost criteria for infinite horizon problems
Field Summary |
---|
Fields inherited from class jmdp.solvers.Solver |
---|
policy, printProcessTime, printValueFunction, problem, solved, valueFunction |
Constructor Summary | |
---|---|
RelativeValueIterationSolver(CTMDP<S,A> problem)
Creates a new solver for a continuous time, infinite horizon problem. |
|
RelativeValueIterationSolver(CTMDP<S,A> problem,
double factor)
Creates a new solver for a continuous time, infinite horizon problem to be solved with the modified relative value iteration method. |
|
RelativeValueIterationSolver(DTMDP<S,A> problem)
The constructor method exclusively receives a discrte time infinite horizon problem of the type DTMDP. |
|
RelativeValueIterationSolver(DTMDP<S,A> problem,
double factor)
Creates a new solver for the given discrete time, infinite horizon problem. |
Method Summary | |
---|---|
int |
getIterations()
|
long |
getProcessTime()
|
void |
setFactor(double factor)
Sets the factor for the modified relative value iteration method. |
Solution<S,A> |
solve()
Called to solve the problem. |
java.lang.String |
toString()
The sub classes must return the Solver name. |
Methods inherited from class jmdp.solvers.AbstractInfiniteSolver |
---|
getDiscreteProblem, getProblem, printSolution |
Methods inherited from class jmdp.solvers.Solver |
---|
getOptimalPolicy, getOptimalValueFunction, getValueFunction, isSolved, printSolution, setPrintProcessTime, setPrintValueFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelativeValueIterationSolver(DTMDP<S,A> problem)
problem
- the structure of the problem of type InfiniteMDPpublic RelativeValueIterationSolver(DTMDP<S,A> problem, double factor)
problem
- problemfactor
- factorpublic RelativeValueIterationSolver(CTMDP<S,A> problem)
problem
- continuous time, infinite horizon problempublic RelativeValueIterationSolver(CTMDP<S,A> problem, double factor)
problem
- continuous time, infinite horizon problemfactor
- Method Detail |
---|
public void setFactor(double factor)
public java.lang.String toString()
Solver
toString
in class Solver<S extends State,A extends Action>
Object.toString()
public Solution<S,A> solve()
Solver
solve
in class Solver<S extends State,A extends Action>
public final long getProcessTime()
getProcessTime
in class Solver<S extends State,A extends Action>
public final int getIterations()
getIterations
in class AbstractInfiniteSolver<S extends State,A extends Action>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |