Package hlcd.run

Class SimpleExecutor

java.lang.Object
hlcd.run.SimpleExecutor

public class SimpleExecutor extends Object
A simple execution class that will search for the \(n\), \(k\), \(d\) and base values assigned/hardcoded in the constructor. It is assumed that it is a quaternary code and the following options will be used: it is Hermitian LCD, the identity matrix will be appended, the restrictions of codeword generation is also applied and it is not multithreaded. It will create an instance of TestParameter by using the constructor that accepts four bytes. There, the default constructor of CodeValidatorParameters will be used. Furthermore, It will initialize the CodeParameters object using the \(n\), \(k\), \(d\) and base values found here. Also, it initiates a code object based on the parameters specified. Lastly, it will use CodeExporterParameters and CodeDisplayParameters by calling the constructor that accepts a Code object (for both classes).
 //minimal example to execute this class:
 public static void main(String[] args) {
     System.out.println("Running SimpleExecutor...");
     SimpleExecutor sr = new SimpleExecutor();
     System.out.println("SimpleExecutor completed.");
 }
Since:
1.8
Version:
1.0 (February 12th, 2022)
Author:
Maysara Al Jumaily
See Also:
ComplexExecutor
  • Constructor Details

    • SimpleExecutor

      public SimpleExecutor()
      The only constructor that declares the \(n\), \(k\), \(d\) and base values to execute.
  • Method Details

    • main

      public static void main(String[] args)
      Executes the program.
      Parameters:
      args - the arguments specified but will be ignored