aima.probability.reasoning
Class ParticleSet
java.lang.Object
aima.probability.reasoning.ParticleSet
public class ParticleSet
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParticleSet
public ParticleSet(HiddenMarkovModel hmm)
filter
public ParticleSet filter(java.lang.String perception,
Randomizer r)
filter
public ParticleSet filter(java.lang.String action,
java.lang.String perception,
Randomizer r)
numberOfParticlesWithState
public int numberOfParticlesWithState(java.lang.String state)
add
public void add(Particle particle)
size
public int size()
toRandomVariable
public RandomVariable toRandomVariable()
generateParticleSetForPredictedState
public ParticleSet generateParticleSetForPredictedState(Randomizer randomizer)
generateParticleSetForPredictedState
public ParticleSet generateParticleSetForPredictedState(java.lang.String action,
Randomizer randomizer)
perceptionUpdate
public ParticleSet perceptionUpdate(java.lang.String perception,
Randomizer r)
getParticle
public Particle getParticle(int i)