Drools :: Beliefs 6.2.0.Beta2

org.drools.beliefs.bayes
Class BayesAbsorption

java.lang.Object
  extended by org.drools.beliefs.bayes.BayesAbsorption

public class BayesAbsorption
extends Object


Constructor Summary
BayesAbsorption(int[] srcVarPos, double[] oldSrcPotentials, double[] srcPotentials, int[] srcVarPosMultipliers, BayesVariable[] trgVars, double[] trgPotentials)
           
 
Method Summary
 void absorb()
           
static double[] dividePotentials(double[] potentials, double[] oldPotentials)
           
static void normalize(double[] array)
           
 void recurse(int currentVar, int targetVarPos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayesAbsorption

public BayesAbsorption(int[] srcVarPos,
                       double[] oldSrcPotentials,
                       double[] srcPotentials,
                       int[] srcVarPosMultipliers,
                       BayesVariable[] trgVars,
                       double[] trgPotentials)
Method Detail

absorb

public void absorb()

normalize

public static void normalize(double[] array)

dividePotentials

public static double[] dividePotentials(double[] potentials,
                                        double[] oldPotentials)

recurse

public void recurse(int currentVar,
                    int targetVarPos)

Drools :: Beliefs 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.