techniques.BN.solver
Class EnumerationSolver

java.lang.Object
  |
  +--techniques.BN.solver.Solver
        |
        +--techniques.BN.solver.EnumerationSolver

public class EnumerationSolver
extends Solver

An implementation of the most basic solver for the BayesNets. The algorithm has been implemented as per the pseudo-code provided in AIMA, 2nd Ed., pg. 506


Constructor Summary
EnumerationSolver(BayesNet _bn)
           
 
Method Summary
 double[] getProb(Variable variable)
           
 
Methods inherited from class techniques.BN.solver.Solver
getEvidence, setEvidence, setEvidenceGivenVal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationSolver

public EnumerationSolver(BayesNet _bn)
Parameters:
_bn -  
Method Detail

getProb

public double[] getProb(Variable variable)
Overrides:
getProb in class Solver
Parameters:
variable -