techniques.BN.solver
Class Solver

java.lang.Object
  |
  +--techniques.BN.solver.Solver
Direct Known Subclasses:
EnumerationSolver

public abstract class Solver
extends Object

Provides some helpful functionality, like maintaining the evidence variables that are needed for implementing BayesNet solvers.


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

Constructor Detail

Solver

public Solver(BayesNet _bn)
Parameters:
bn -  
Method Detail

setEvidenceGivenVal

public void setEvidenceGivenVal(HashMap e)
Parameters:
e -  

setEvidence

public void setEvidence(HashMap e)

getEvidence

public HashMap getEvidence()

getProb

public abstract double[] getProb(Variable variable)
Parameters:
variable -