T1
- Type of the first list.T2
- Type of the second list.T3
- Type of the third list.public class TripleDistribution<T1,T2,T3> extends Object
Modifier and Type | Field and Description |
---|---|
long |
count |
static int |
DEFAULT_MAP_SIZE |
Constructor and Description |
---|
TripleDistribution(long count,
Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount,
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> abCount,
Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> acCount,
Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> bcCount,
Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> aCount,
Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> bCount,
Map<T3,com.oracle.labs.mlrg.olcut.util.MutableLong> cCount) |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
constructFromLists(List<T1> first,
List<T2> second,
List<T3> third) |
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount) |
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount,
int abSize,
int acSize,
int bcSize,
int aSize,
int bSize,
int cSize) |
static <T1,T2,T3> TripleDistribution<T1,T2,T3> |
constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount,
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> abCount,
Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> acCount,
Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> bcCount,
Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> aCount,
Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> bCount,
Map<T3,com.oracle.labs.mlrg.olcut.util.MutableLong> cCount) |
Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getABCount() |
Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getACCount() |
Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getACount() |
Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getBCCount() |
Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getBCount() |
Map<T3,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getCCount() |
Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> |
getJointCount() |
public static final int DEFAULT_MAP_SIZE
public final long count
public TripleDistribution(long count, Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> abCount, Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> acCount, Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> bcCount, Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> aCount, Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> bCount, Map<T3,com.oracle.labs.mlrg.olcut.util.MutableLong> cCount)
public Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> getJointCount()
public Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> getABCount()
public Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> getACCount()
public Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> getBCCount()
public static <T1,T2,T3> TripleDistribution<T1,T2,T3> constructFromLists(List<T1> first, List<T2> second, List<T3> third)
public static <T1,T2,T3> TripleDistribution<T1,T2,T3> constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount)
public static <T1,T2,T3> TripleDistribution<T1,T2,T3> constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, int abSize, int acSize, int bcSize, int aSize, int bSize, int cSize)
public static <T1,T2,T3> TripleDistribution<T1,T2,T3> constructFromMap(Map<CachedTriple<T1,T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> jointCount, Map<CachedPair<T1,T2>,com.oracle.labs.mlrg.olcut.util.MutableLong> abCount, Map<CachedPair<T1,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> acCount, Map<CachedPair<T2,T3>,com.oracle.labs.mlrg.olcut.util.MutableLong> bcCount, Map<T1,com.oracle.labs.mlrg.olcut.util.MutableLong> aCount, Map<T2,com.oracle.labs.mlrg.olcut.util.MutableLong> bCount, Map<T3,com.oracle.labs.mlrg.olcut.util.MutableLong> cCount)
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.