aima.probability.reasoning
Class Particle

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

public class Particle
extends java.lang.Object


Constructor Summary
Particle(java.lang.String state)
           
Particle(java.lang.String state, double weight)
           
 
Method Summary
 java.lang.String getState()
           
 double getWeight()
           
 boolean hasState(java.lang.String aState)
           
 void setWeight(double particleWeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Particle

public Particle(java.lang.String state,
                double weight)

Particle

public Particle(java.lang.String state)
Method Detail

hasState

public boolean hasState(java.lang.String aState)

getState

public java.lang.String getState()

getWeight

public double getWeight()

setWeight

public void setWeight(double particleWeight)