- RandomSample - Class in bham.leakiest.infotheory
-
This class constructs a probability distribution and offers
methods for manipulating the probability distribution.
- RandomSample(double[]) - Constructor for class bham.leakiest.infotheory.RandomSample
-
Initialises the random sampling from a given array of probability distribution.
- RandomSample(ProbDist) - Constructor for class bham.leakiest.infotheory.RandomSample
-
Initialises the random sampling from a given probability distribution.
- read2ContinuousObservationsFiles() - Method in class bham.leakiest.ReadFile
-
Reads two continuous observation files.
- read2DiscreteObservationsFiles() - Method in class bham.leakiest.ReadFile
-
Reads two discrete observation files.
- readChannel() - Method in class bham.leakiest.ReadFile
-
Reads a channel file.
- readConfiguration() - Method in class bham.leakiest.ReadFile
-
Reads a configuration file.
- readContinuousObservations() - Method in class bham.leakiest.ReadFile
-
Reads a continuous observation file.
- readDistribution() - Method in class bham.leakiest.ReadFile
-
Reads a discrete (prior) distribution file.
- ReadFile - Class in bham.leakiest
-
This is the class that contains methods for reading a conditional probability
matrix or a list of observations from a text file.
- ReadFile(String, int, String) - Constructor for class bham.leakiest.ReadFile
-
Sets a file name for input.
- ReadFile(String, int, int, CSVFile) - Constructor for class bham.leakiest.ReadFile
-
Reads the contents of a file into an Observations object in increments of
a given number of lines.
- ReadFile(String, String, int, String) - Constructor for class bham.leakiest.ReadFile
-
Sets two file names for input.
- ReadFile(String, String, int, int, CSVFile) - Constructor for class bham.leakiest.ReadFile
-
Reads the contents of two files into an Observations object in increments
of a given number of lines.
- readGuessDomain() - Method in class bham.leakiest.ReadFile
-
Reads a discrete guess domain file.
- readObservations() - Method in class bham.leakiest.ReadFile
-
Reads a discrete observation file.
- relativeEntropy(double[], double[]) - Static method in class bham.leakiest.infotheory.ShannonEntropy
-
Calculates the relative entropy of two PMFs p and q.
- removeProb(State) - Method in class bham.leakiest.ProbDist
-
Removes a state from the probability distribution.
- removeQuotation(String) - Method in class bham.leakiest.ReadFile
-
Removes quotation marks from a string.
- removeValue(String) - Method in class bham.leakiest.State
-
Remove the variable from the state.
- resolutionForMI - Static variable in class bham.leakiest.infotheory.KernelFunction
-
Parameter to approximate the mutual information for the continuous data
- round(double, int) - Static method in class bham.leakiest.Stats
-
Rounds the double n to dp decimal places.