public class ApproxPrior
extends java.lang.Object
| Constructor and Description |
|---|
ApproxPrior() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
errorMinEntropyLeakSmallProbsRemoved(ProbDist apd,
Channel[] channels,
double sumOfSmallProbs)
Returns an error of the leakage caused by removing small probabilities
by the input approximation technique.
|
static double[] |
errorMinEntropyLeakSmallProbsRemovedNoReexecutionWithJointInput(ProbDist pd,
Channel[] channels,
double sumOfSmallProbs)
Returns an error of the leakage caused by removing small probabilities
by the input approximation technique in the case of jointly supported
input distributions.
|
static double[] |
errorMinEntropyLeakSmallProbsRemovedNoReexecutionWithSharedInput(ProbDist pd,
Channel[] channels,
double sumOfSmallProbs)
Returns an error of the leakage caused by removing small probabilities
by the input approximation technique in the case of shared input distributions.
|
static double |
sumOfProbsRemoved(ProbDist apd)
Returns the summation of all probabilities removed from the input distribution,
by input approximation.
|
public static double[] errorMinEntropyLeakSmallProbsRemoved(ProbDist apd, Channel[] channels, double sumOfSmallProbs)
apd - approximate input distributionchannels - all channels that might be composedsumOfSmallProbs - the sum of small probabilities removed from the input distributionpublic static double[] errorMinEntropyLeakSmallProbsRemovedNoReexecutionWithJointInput(ProbDist pd, Channel[] channels, double sumOfSmallProbs)
pd - input distributionchannels - all channels that might be composedsumOfSmallProbs - the sum of small probabilities removed from the input distributionpublic static double[] errorMinEntropyLeakSmallProbsRemovedNoReexecutionWithSharedInput(ProbDist pd, Channel[] channels, double sumOfSmallProbs)
pd - input distributionchannels - all channels that might be composedsumOfSmallProbs - the sum of small probabilities removed from the input distributionpublic static double sumOfProbsRemoved(ProbDist apd)
apd - approximate input distribution