Documentation of 'bayesnet.internal.jayes.util.AddressCalc' Java class
AddressCalc
bayesnet.internal.jayes.util

Class AddressCalc



  • public final class AddressCalc
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int[] computeLinearMap(AbstractFactor factor, int... dimensionIDs)
      computes a linear map that can be used to transform the factors' addresses to the corresponding index of the flat value array of another factor consisting of the dimensions with the given dimensionIDs.
      static void incrementMultiDimensionalCounter(int[] counter, int[] dimensions) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • incrementMultiDimensionalCounter

        public static void incrementMultiDimensionalCounter(int[] counter,
                                                            int[] dimensions)
      • computeLinearMap

        public static int[] computeLinearMap(AbstractFactor factor,
                                             int... dimensionIDs)
        computes a linear map that can be used to transform the factors' addresses to the corresponding index of the flat value array of another factor consisting of the dimensions with the given dimensionIDs. dimensionIDs is expected to be a superset of the dimension ids of the first factor

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.