public class TabularBeliefUpdate extends java.lang.Object implements BeliefUpdate
BeliefUpdate
that operates on TabularBeliefState
instances. Computation is exhaustive and
performs the exact Bayesian update.Modifier and Type | Field and Description |
---|---|
protected PODomain |
domain |
protected StateEnumerator |
stateEnumerator |
Constructor and Description |
---|
TabularBeliefUpdate(PODomain domain) |
TabularBeliefUpdate(PODomain domain,
StateEnumerator stateEnumerator) |
Modifier and Type | Method and Description |
---|---|
PODomain |
getDomain() |
StateEnumerator |
getStateEnumerator() |
void |
setDomain(PODomain domain) |
void |
setStateEnumerator(StateEnumerator stateEnumerator) |
BeliefState |
update(BeliefState belief,
State observation,
Action a)
Computes a new belief distribution from a previous belief and given a new observation received after taking
a specific action.
|
protected PODomain domain
protected StateEnumerator stateEnumerator
public TabularBeliefUpdate(PODomain domain)
public TabularBeliefUpdate(PODomain domain, StateEnumerator stateEnumerator)
public PODomain getDomain()
public void setDomain(PODomain domain)
public StateEnumerator getStateEnumerator()
public void setStateEnumerator(StateEnumerator stateEnumerator)
public BeliefState update(BeliefState belief, State observation, Action a)
BeliefUpdate
update
in interface BeliefUpdate
belief
- the prior beliefobservation
- the conditioned POMDP observation defined by a State
instance.a
- the conditioned action selection in the previous time step.BeliefState
instance.