public final class AddressCalc extends Object
| Modifier and Type | Method and Description |
|---|---|
static int[] |
computeLinearMap(AbstractFactor factor,
int... dimensionIDs)
computes a mapping from the factors' addresses to the corresponding index of the flat value array of a factor
consisting of the dimensions with the given dimensionIDs.
|
static void |
incrementMultiDimensionalCounter(int[] counter,
int[] dimensions) |
public static void incrementMultiDimensionalCounter(int[] counter,
int[] dimensions)
public static int[] computeLinearMap(AbstractFactor factor, int... dimensionIDs)
factor - the factordimensionIDs - array of dimension idsCopyright © 2018. All rights reserved.