Module se
[frames] | no frames]

Module se

State machine that acts as a state estimator, given a world model expressed as a c{ssm.StochasticSM}.

Classes
  StateEstimator
A state machine that performs state estimation, based on an input stream of (observation, input) pairs)and a stochastic state-machine model.
  StateEstimatorTriggered
Like StateEstimator, but the inputs are (observation, action, trigger).
Functions
 
makeStateEstimationSimulation(worldSM, verbose=False)
Make a machine that simulates the state estimation process.
Variables
  __package__ = None
Function Details

makeStateEstimationSimulation(worldSM, verbose=False)

 

Make a machine that simulates the state estimation process. It takes a state machine representing the world, at construction time. Let i be an input to the world machine. The input is fed into the world machine, generating (stochastically) an output, o. The (o, i) pair is fed into a state-estimator using worldSM as its model. The output of the state estimator is a belief state, b. The output of this entire composite machine is (b, (o, i)).

Parameters:
  • worldSM - an instance of ssm.StochasticSM
Returns:
a state machine that simulates the world and executes the state estimation process.