|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmarkov.jmdp.MDP<S,A>
jmarkov.jmdp.FiniteMDP<S,A>
jmarkov.jmdp.FiniteMDPEv<S,A,E>
S - States classA - Actions classE - Events classpublic abstract class FiniteMDPEv<S extends State,A extends Action,E extends Event>
This class represents a finite horizon discrete time MDP with events.
| Field Summary |
|---|
| Fields inherited from class jmarkov.jmdp.FiniteMDP |
|---|
horizon |
| Fields inherited from class jmarkov.jmdp.MDP |
|---|
finite, initial, reporter |
| Constructor Summary | |
|---|---|
FiniteMDPEv(States<S> initial,
int horizon)
|
|
| Method Summary | |
|---|---|
abstract Events<E> |
activeEvents(S i,
A a,
int t)
Set of events that are active from state i given that action a is taken. |
abstract double |
immediateCost(S i,
A a,
E e,
int t)
Reward received when the current state is i, the action taken is a and event e occurs. |
double |
immediateCost(S i,
A a,
int t)
This funtion must return the Immediate cost incurred when taking action a from state i |
abstract double |
prob(S i,
E e,
int t)
Conditional probability. |
abstract double |
prob(S i,
S j,
A a,
E e,
int t)
Conditional probability. |
double |
prob(S i,
S j,
A a,
int t)
This is the probability of going from state i to state j by taking the action a at stage t. |
abstract States<S> |
reachable(S i,
A a,
E e,
int t)
Set of reachable states from state i given that action a is taken and event e occurs. |
States<S> |
reachable(S i,
A a,
int t)
Set of States that can be reached from this state i, at this stage t, after taking the acton a. |
| Methods inherited from class jmarkov.jmdp.FiniteMDP |
|---|
feasibleActions, finalCost, getDefaultSolver, getHorizon, getStates, setHorizon |
| Methods inherited from class jmarkov.jmdp.MDP |
|---|
debug, debug, debug, getDebugLevel, getOptimalPolicy, getOptimalValueFunction, getReporter, getSolver, isFinite, isSolved, operation, printSolution, printSolution, setDebugLevel, setReporter, setSolver, solve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FiniteMDPEv(States<S> initial,
int horizon)
initial - horizon - | Method Detail |
|---|
public double immediateCost(S i,
A a,
int t)
FiniteMDP
immediateCost in class FiniteMDP<S extends State,A extends Action>i - Current statea - Actiont - Current time stage
public abstract double immediateCost(S i,
A a,
E e,
int t)
i - current statea - action takene - event that occurst - current stage
public double prob(S i,
S j,
A a,
int t)
FiniteMDP
prob in class FiniteMDP<S extends State,A extends Action>i - Current statej - Destination statea - Action takent - Current time stage
public abstract double prob(S i,
S j,
A a,
E e,
int t)
i - current statej - state to reacha - action taken (given)e - event that occurs (given)t - current stage
public abstract double prob(S i,
E e,
int t)
i - current statee - event that occurst - current stage
public States<S> reachable(S i,
A a,
int t)
FiniteMDP
reachable in class FiniteMDP<S extends State,A extends Action>i - Current statea - Action takent - Time stage
public abstract States<S> reachable(S i,
A a,
E e,
int t)
i - current statea - action takene - event that occurst - current stage
public abstract Events<E> activeEvents(S i,
A a,
int t)
i - current statea - action takent - current stage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||