jmdp.solvers
Class AbstractDiscountedSolver<S extends State,A extends Action>
java.lang.Object
jmdp.solvers.Solver<S,A>
jmdp.solvers.AbstractInfiniteSolver<S,A>
jmdp.solvers.AbstractDiscountedSolver<S,A>
- Type Parameters:
S
- stateA
- action
- Direct Known Subclasses:
- PolicyIterationSolver, ValueIterationSolver
public abstract class AbstractDiscountedSolver<S extends State,A extends Action>
- extends AbstractInfiniteSolver<S,A>
This is a structural class that must be extended by classes solving the dicounted
cost minimization problem.
- Author:
- Andres Sarmiento and German Riano - Universidad de Los Andes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
interestRate
protected double interestRate
discountFactor
protected double discountFactor
setInterestRate
public final void setInterestRate(double interestRate)
- Parameters:
interestRate
- The discountFactor to set.
getInterestRate
public double getInterestRate()
setDiscountFactor
public final void setDiscountFactor(double discountFactor)
- Parameters:
discountFactor
- The discountFactor to set.