org.drools.beliefs.bayes
Class BayesProjection
java.lang.Object
org.drools.beliefs.bayes.BayesProjection
public class BayesProjection
- extends Object
|
Constructor Summary |
BayesProjection(BayesVariable[] srcVars,
double[] srcPotentials,
int[] trgVarPos,
int[] trgVarPosMultipliers,
double[] trgPotentials)
|
|
Method Summary |
static void |
normalize(double[] darray,
double sum)
|
void |
project()
|
void |
recurse(int currentVar,
int targetVarPos)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BayesProjection
public BayesProjection(BayesVariable[] srcVars,
double[] srcPotentials,
int[] trgVarPos,
int[] trgVarPosMultipliers,
double[] trgPotentials)
project
public void project()
normalize
public static void normalize(double[] darray,
double sum)
recurse
public void recurse(int currentVar,
int targetVarPos)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.