T1
- Type of the first list.T2
- Type of the second list.T3
- Type of the third list.public class WeightedTripleDistribution<T1,T2,T3> extends Object
Modifier and Type | Field and Description |
---|---|
long |
count |
static int |
DEFAULT_MAP_SIZE |
Constructor and Description |
---|
WeightedTripleDistribution(long count,
Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount,
Map<CachedPair<T1,T2>,WeightCountTuple> abCount,
Map<CachedPair<T1,T3>,WeightCountTuple> acCount,
Map<CachedPair<T2,T3>,WeightCountTuple> bcCount,
Map<T1,WeightCountTuple> aCount,
Map<T2,WeightCountTuple> bCount,
Map<T3,WeightCountTuple> cCount) |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3> WeightedTripleDistribution<T1,T2,T3> |
constructFromLists(List<T1> first,
List<T2> second,
List<T3> third,
List<Double> weights) |
static <T1,T2,T3> WeightedTripleDistribution<T1,T2,T3> |
constructFromMap(Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount) |
Map<CachedPair<T1,T2>,WeightCountTuple> |
getABCount() |
Map<CachedPair<T1,T3>,WeightCountTuple> |
getACCount() |
Map<T1,WeightCountTuple> |
getACount() |
Map<CachedPair<T2,T3>,WeightCountTuple> |
getBCCount() |
Map<T2,WeightCountTuple> |
getBCount() |
Map<T3,WeightCountTuple> |
getCCount() |
Map<CachedTriple<T1,T2,T3>,WeightCountTuple> |
getJointCount() |
public static final int DEFAULT_MAP_SIZE
public final long count
public WeightedTripleDistribution(long count, Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount, Map<CachedPair<T1,T2>,WeightCountTuple> abCount, Map<CachedPair<T1,T3>,WeightCountTuple> acCount, Map<CachedPair<T2,T3>,WeightCountTuple> bcCount, Map<T1,WeightCountTuple> aCount, Map<T2,WeightCountTuple> bCount, Map<T3,WeightCountTuple> cCount)
public Map<CachedTriple<T1,T2,T3>,WeightCountTuple> getJointCount()
public Map<CachedPair<T1,T2>,WeightCountTuple> getABCount()
public Map<CachedPair<T1,T3>,WeightCountTuple> getACCount()
public Map<CachedPair<T2,T3>,WeightCountTuple> getBCCount()
public Map<T1,WeightCountTuple> getACount()
public Map<T2,WeightCountTuple> getBCount()
public Map<T3,WeightCountTuple> getCCount()
public static <T1,T2,T3> WeightedTripleDistribution<T1,T2,T3> constructFromLists(List<T1> first, List<T2> second, List<T3> third, List<Double> weights)
public static <T1,T2,T3> WeightedTripleDistribution<T1,T2,T3> constructFromMap(Map<CachedTriple<T1,T2,T3>,WeightCountTuple> jointCount)
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.