Class Main

java.lang.Object
dev.roanh.cpqindex.Main

public class Main extends Object
Main class and CLI interface for the index.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
    If set this Discord webhook can be used as a logging target.
    static final org.apache.commons.cli.Options
    The command line options.
    static final String
    The current version of the index software.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Small testing subroutine to find random CPQ cores.
    private static void
    handleInput(org.apache.commons.cli.CommandLine cli)
    Handles the input arguments.
    static final void
    Loads the compiled JNI libraries required for nauty.
    static void
    main(String[] args)
    Main subroutine, parses CLI options.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VERSION

      public static final String VERSION
      The current version of the index software.
      See Also:
    • DISCORD_WEBHOOK

      private static final String DISCORD_WEBHOOK
      If set this Discord webhook can be used as a logging target.
      See Also:
    • options

      public static final org.apache.commons.cli.Options options
      The command line options.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      Main subroutine, parses CLI options.
      Parameters:
      args - The passed CLI options.
    • handleInput

      private static void handleInput(org.apache.commons.cli.CommandLine cli)
      Handles the input arguments.
      Parameters:
      cli - The command line arguments.
    • findRandomCore

      public static void findRandomCore()
      Small testing subroutine to find random CPQ cores.
    • loadNatives

      public static final void loadNatives() throws IOException, UnsatisfiedLinkError
      Loads the compiled JNI libraries required for nauty.
      Throws:
      IOException - When an IOException occurs.
      UnsatisfiedLinkError - When loading a native library fails.