- calcContinuousApproxMI(double[], ArrayList<double[]>) - Method in class bham.leakiest.infotheory.KernelFunction
-
Calculates the estimated mutual information.
- calculateCapacity() - Method in class bham.leakiest.infotheory.BlahutArimoto
-
Calculates capacity.
- calculateError(double[], double[][]) - Method in class bham.leakiest.infotheory.BlahutArimoto
-
Finds the maximum possible error for a input PMF using:
I(Q,W) ≤ true Cap ≤ max_x[T(x) -log(Q(x))]
i.e.
- cascade(Channel[]) - Static method in class bham.leakiest.Channel
-
Returns the cascade channel (sequential composition) of given channels.
- cdataFromARFF(TreeSet<Integer>, TreeSet<Integer>, int) - Method in class bham.leakiest.ARFFFile
-
Returns the continuous data for the given high and low features.
- Channel - Class in bham.leakiest
-
This class represents an information theoretic channel.
- Channel() - Constructor for class bham.leakiest.Channel
-
Constructs the empty channel.
- Channel(int, String[], String[], double[][]) - Constructor for class bham.leakiest.Channel
-
Constructs a channel with initial values.
- Channel(String[], String[], double[][]) - Constructor for class bham.leakiest.Channel
-
Constructs a (basic) channel with initial values.
- checkConsistency(ProbDist, Set<String>) - Static method in class bham.leakiest.infotheory.GainFunction
-
Returns whether each guess in a given guess domain is contained
in a given probability distribution.
- checkWellDefined(double) - Method in class bham.leakiest.ProbDist
-
Print whether the probability distribution is well-defined or not.
- chiSqu95Interval(int) - Static method in class bham.leakiest.Stats
-
Returns the upper bound for the 95% confidence interval
for the χ-squared distribution with n degrees of freedom.
- chiSquare(int[], double[]) - Static method in class bham.leakiest.Stats
-
Returns χ-square value given observed counts and expected counts.
- chiSquare(int[], int[]) - Static method in class bham.leakiest.Stats
-
Returns χ-square value given observed counts and expected counts.
- chiSquareValues95 - Static variable in class bham.leakiest.Stats
-
χ-squared distribution.
- close() - Method in class bham.leakiest.CSVFile
-
Closes the CSV file.
- CommandLine - Class in bham.leakiest
-
This is the class for parsing command line options of the tool leakiEst.
- CommandLine(String[]) - Constructor for class bham.leakiest.CommandLine
-
Constructor
- ComparatorDoubles - Class in bham.leakiest.comparator
-
This class provides a comparator used for sotring pairs.
- ComparatorDoubles() - Constructor for class bham.leakiest.comparator.ComparatorDoubles
-
Constructs a comparator.
- ComparatorIntegers - Class in bham.leakiest.comparator
-
This class provides a comparator used for sotring pairs.
- ComparatorIntegers() - Constructor for class bham.leakiest.comparator.ComparatorIntegers
-
Constructs a comparator.
- ComparatorStringWithInt - Class in bham.leakiest.comparator
-
This class provides a comparator used for sotring pairs.
- ComparatorStringWithInt() - Constructor for class bham.leakiest.comparator.ComparatorStringWithInt
-
Constructs a comparator.
- compare(Pair<Double, Double>, Pair<Double, Double>) - Method in class bham.leakiest.comparator.ComparatorDoubles
-
Comparator for two pairs whose values are double.
- compare(Pair<Integer, Integer>, Pair<Integer, Integer>) - Method in class bham.leakiest.comparator.ComparatorIntegers
-
Comparator for two pairs whose values are integer.
- compare(Pair<String, Integer>, Pair<String, Integer>) - Method in class bham.leakiest.comparator.ComparatorStringWithInt
-
Comparator for two strings with sort indexes.
- CompositionalEstimate - Class in bham.leakiest
-
This is a library of useful compositional reasoning about estimation
of information leakage measures.
- CompositionalEstimate() - Constructor for class bham.leakiest.CompositionalEstimate
-
- computeObservationsFromARFF(String, TreeSet<String>, TreeSet<String>) - Static method in class bham.leakiest.ARFFFile
-
Computes the observations from a given ARFF file and given features.
- conditionalEntropy(double[], double[][]) - Static method in class bham.leakiest.infotheory.ShannonEntropy
-
Calculates the conditional entropy of a channel matrix
given an input PMF.
- conditionalEntropy(ProbDist, Channel) - Static method in class bham.leakiest.infotheory.ShannonEntropy
-
Calculates the conditional entropy of a channel
given an input probability distribution.
- conditionalGEntropy(double[], State[], Channel, GainFunction, Set<String>, String[]) - Static method in class bham.leakiest.infotheory.GLeakage
-
Calculates the posterior g-entropy of a channel
given a probability distribution, a gain function gf,
and the set of all guesses guessDomain.
- conditionalGEntropy(ProbDist, Channel, GainFunction, Set<String>) - Static method in class bham.leakiest.infotheory.GLeakage
-
Calculates the posterior g-entropy of a channel
given a probability distribution, a gain function gf,
and the set of all guesses guessDomain.
- conditionalMinEntropy(ProbDist, Channel) - Static method in class bham.leakiest.infotheory.MinEntropy
-
Calculates the conditional min-entropy of a probability distribution.
- conditionalVulnerability(ProbDist, Channel) - Static method in class bham.leakiest.infotheory.MinEntropy
-
Calculates the conditional vulnerability of a probability distribution
given a channel.
- consistentChannelsAndPrior(int) - Method in class bham.leakiest.ProbDist
-
Check whether the number of channels matches with
the size of the (prior) input distribution.
- ContinuousData - Class in bham.leakiest
-
This class provides methods for dealing with continuous data.
- ContinuousData(String, String) - Constructor for class bham.leakiest.ContinuousData
-
Constructs continuous data from two observation files.
- ContinuousData() - Constructor for class bham.leakiest.ContinuousData
-
Constructs the empty continuous data.
- CSVFile - Class in bham.leakiest
-
This class represents an RFC 4180-compliant CSV file containing information
about the leakage estimations generated by processing observations.
- CSVFile(File) - Constructor for class bham.leakiest.CSVFile
-
Creates a new, empty CSV file at the path specified by out.
- cumulativeProbArray(double[]) - Static method in class bham.leakiest.ProbDist
-
Returns the array of the cumulative distribution of a given array of PMF.
- cumulativeProbDist() - Method in class bham.leakiest.ProbDist
-
Returns the cumulative probability distribution of this distribution.