All Classes
Class
Description
Used to time the execution duration of a run.
A tester class that uses
bytes instead of longs to store
vectors of 8-bits.The definition of a mathematical linear code.
A wrapper class containing the information of what should be displayed on
console as output.
Exports the code found to file as a persistent object, \(\LaTeX\) and Matlab
files.
Stores the options of a code when being exported.
Exports the code found to file as a persistent object (
.bin file).The operations a mathematical linear code.
Stores the parameters of a code when being created.
The code statistics is responsible for benchmarking the statistics run of a
code.
The code validator that will ensure the code that was obtained is valid by
checking that the generator matrix, orthogonal linear combinations,
minimum distance etc.
Stores the options of a code \(\mathsf{C}\) when being validated to ensure
the generator matrix \(G\) does satisfy the necessary requirements of the
\(\left[n, \, k, \, d\right]_{base}\) code found.
A complete execution class that initializes all possible parameters in
this program from the \(n\), \(k\), \(d\) values to the code parameters, code
validator parameters, code export parameters and code display parameters.
The creation of directories and files is taken care of here.
A class contains static variables and methods to be used globally across
the classes in this program.
A way to perform mathematical operations in \(\mathbb{F}_4\).
A way to find the Hamming weight for vectors in base \(2\) or \(4\).
Ensures the optimal Hamming weight approach used in this program matched
the expected result.
An exception that can be thrown when an invalid base is trying to be used.
An exception that can be thrown when an invalid code parameters (\(n\)
and/or \(k\)) of a code \(\mathsf{C}\) is trying to be used.
An exception that can be thrown when an invalid column index in some
matrix is trying to be accessed.
An exception that can be thrown when trying to override a specific column
in the matrix with a column vector that doesn't match the matrix's dimension.
An exception that can be thrown when the number of rows in a column vector
exceeds the allowable limit.
An exception that can be thrown when an invalid digit is being used in the
code.
An exception that can be thrown when an invalid row index is specified in the
identity submatrix of the generator matrix \(G\).
An exception that can be thrown when the bases of two matrices don't match.
An exception that can be thrown when the dimensions of two matrices don't
match for multiplication.
An exception that can be thrown when the minimum distance specified is
less than \(3\).
An exception that can be thrown when an invalid row index in some
matrix is trying to be accessed.
Exports the generator matrix \(G\) of the code \(\mathsf{C}\) as a
.tex file.Exports the weight enumerator of some code \(\mathsf{C}\) as a
.tex
file.Runs the list of parameters and test all the parameters read (parameters
with \(d \ge 3\)).
A structure for storing the linear combinations of the code.
Exports the code found to file as a Matlab
.m file.Creates a Matlab file to ensure the correctness of the Bareiss Algorithm
implemented in this program for finding the determinant of quaternary
square matrices.
Creates a Matlab file to test the logic of transposing a matrix, finding
the Hermitian transpose of a matrix and matrix multiplication.
Creates the main Matlab script to run all the file(s) generated based on the
number of run specified in the Tester classes.
Defines a matrix as a 1-D array where there are 62 columns.
Tests the logic of getting and setting cells in the matrix.
Defines the operations of a matrix.
Prints a matrix nicely on console.
A way to load a list of parameters of quaternary codes from a
.txt
file.A class contains the paths of reading/writing from/to directories and files.
Test the multiplication logic of two rows vectors being multiplied by each
other.
Generates a random matrix based on the parameters specified.
Creates a random
long value based on the specified n and
base values in the constructor.Uses a 1-D array of
ints to mimic the splitting of segments.A simple execution class that will search for the \(n\), \(k\), \(d\) and
base values assigned/hardcoded in the constructor.An enum for choosing how should a matrix in the program be displayed.
A wrapper class containing the parameters needed to write a Matlab
script for testing the program.
Starts the execution of finding if the parameters specified of a code are
valid automatically once a constructor is called.
The generator of potential codewords in a sequential order.
Creates the weight enumerator of the codewords in the code in the form of:
\(\operatorname{w}(x)_{\mathsf{C}} = A_{0} + A_{1}x + A_{2}x^2 + \ldots +
A_{n- 2}x^{n-2} + A_{n - 1}x^{n-1} + A_nx^n\), where \(A_{i}\) is the number
of codewords in \(\mathsf{C}\) whose Hamming weight is \(i\).