aima.probability.reasoning
Class SensorModel

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

public class SensorModel
extends java.lang.Object


Constructor Summary
SensorModel(java.util.List<java.lang.String> states, java.util.List<java.lang.String> perceptions)
           
 
Method Summary
 Matrix asMatrix(java.lang.String perception)
           
 java.lang.Double get(java.lang.String state, java.lang.String perception)
           
 void setSensingProbability(java.lang.String state, java.lang.String perception, double probability)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorModel

public SensorModel(java.util.List<java.lang.String> states,
                   java.util.List<java.lang.String> perceptions)
Method Detail

setSensingProbability

public void setSensingProbability(java.lang.String state,
                                  java.lang.String perception,
                                  double probability)

get

public java.lang.Double get(java.lang.String state,
                            java.lang.String perception)

asMatrix

public Matrix asMatrix(java.lang.String perception)