Class BayesProjection


  • public class BayesProjection
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BayesProjection​(BayesVariable[] srcVars, double[] srcPotentials, int[] trgVarPos, int[] trgVarPosMultipliers, double[] trgPotentials)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • BayesProjection

        public BayesProjection​(BayesVariable[] srcVars,
                               double[] srcPotentials,
                               int[] trgVarPos,
                               int[] trgVarPosMultipliers,
                               double[] trgPotentials)
    • Method Detail

      • project

        public void project()
      • normalize

        public static void normalize​(double[] darray,
                                     double sum)
      • recurse

        public void recurse​(int currentVar,
                            int targetVarPos)