public class BayesAbsorption extends Object
Constructor and Description |
---|
BayesAbsorption(int[] srcVarPos,
double[] oldSrcPotentials,
double[] srcPotentials,
int[] srcVarPosMultipliers,
BayesVariable[] trgVars,
double[] trgPotentials) |
Modifier and Type | Method and Description |
---|---|
void |
absorb() |
static double[] |
dividePotentials(double[] potentials,
double[] oldPotentials) |
static void |
normalize(double[] array) |
void |
recurse(int currentVar,
int targetVarPos) |
public BayesAbsorption(int[] srcVarPos, double[] oldSrcPotentials, double[] srcPotentials, int[] srcVarPosMultipliers, BayesVariable[] trgVars, double[] trgPotentials)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.