aima.probability.reasoning
Class ParticleSet

java.lang.Object
  extended by aima.probability.reasoning.ParticleSet

public class ParticleSet
extends java.lang.Object


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

Constructor Detail

ParticleSet

public ParticleSet(HiddenMarkovModel hmm)
Method Detail

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)