Package org.drools.beliefs.bayes
Class BayesLikelyhood
- java.lang.Object
-
- org.drools.beliefs.bayes.BayesLikelyhood
-
public class BayesLikelyhood extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BayesLikelyhood(Graph graph, JunctionTreeClique jtNode, GraphNode<BayesVariable> varNode, double[] distribution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)double[]getDistribution()BayesVariablegetVariable()inthashCode()voidmultiplyInto(double[] trgPotential)
-
-
-
Constructor Detail
-
BayesLikelyhood
public BayesLikelyhood(Graph graph, JunctionTreeClique jtNode, GraphNode<BayesVariable> varNode, double[] distribution)
-
-
Method Detail
-
getVariable
public BayesVariable getVariable()
-
getDistribution
public double[] getDistribution()
-
multiplyInto
public void multiplyInto(double[] trgPotential)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-