Package | Description |
---|---|
bham.leakiest | |
bham.leakiest.infotheory |
Modifier and Type | Method and Description |
---|---|
static double[] |
CompositionalEstimate.estimateParallelGLeakWithSharedInput(ProbDist jpd,
ProbDist apd,
Channel[] channels,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain)
Returns an upper bound on the g-leakage of
the channel composed in parallel in the case input
is shared among the channels.
|
static double |
CompositionalEstimate.HgMin(ProbDist pd,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain)
Returns Hg^min(pd) = - log min { pd[x] g(w, x) | x in X, w in W, pd[x] g(w, x) != 0 }.
|
static void |
CompositionalEstimate.printEstimatedMeasure(int taskType,
ProbDist[] pds,
Channel[] channels,
int numChannels,
int sampleSize,
boolean priorShared,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain,
boolean compositionalEstimate,
double approxPriorLevel,
boolean approxDoNotKnowChannels)
Chooses to estimate and print one of leakage measures
by compositional reasoning in the case of discrete inputs.
|
Modifier and Type | Method and Description |
---|---|
static double |
GLeakage.conditionalGEntropy(double[] pmf,
State[] sts,
Channel channel,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain,
java.lang.String[] inputDomain)
Calculates the posterior g-entropy of a channel
given a probability distribution, a gain function gf,
and the set of all guesses guessDomain.
|
static double |
GLeakage.conditionalGEntropy(ProbDist pd,
Channel channel,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain)
Calculates the posterior g-entropy of a channel
given a probability distribution, a gain function gf,
and the set of all guesses guessDomain.
|
static double |
GLeakage.gEntropy(double[] pmf,
State[] sts,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain,
java.lang.String[] inputDomain)
Calculates the g-entropy of a probability distribution.
|
static double |
GLeakage.gEntropy(ProbDist pd,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain)
Calculates the g-entropy of a probability distribution.
|
static double |
GLeakage.gLeakage(ProbDist pd,
Channel channel,
GainFunction gf,
java.util.Set<java.lang.String> guessDomain)
Calculates the g-leakage from a channel
given an input probability distribution pd
given a probability distribution, a gain function gf,
and the set of all guesses guessDomain.
|