Package jline.cli

Class LdesCLI

java.lang.Object
jline.cli.LdesCLI

public class LdesCLI extends Object
CLI for the standalone ldes.jar (LDES simulation engine).

Usage: java -jar ldes.jar solve model.json -o result.json [OPTIONS]

  • Field Details

    • PROTOCOL

      public static final int PROTOCOL
      Wire protocol level, printed by ldes --protocol. Kept equal to kLdesProtocol in cpp/src/cli/ldes_cli.cpp, where level 1 marks the native reader that refuses a key it does not consume. The MATLAB and Python clients probe the NATIVE binary with it and fall back to ldes.jar when it answers below the level they require.
      See Also:
  • Constructor Details

    • LdesCLI

      public LdesCLI()
  • Method Details

    • handleSolveCommand

      public static int handleSolveCommand(String[] args)
      Handles the 'solve' command for LDES simulation.
      Parameters:
      args - command-line arguments after "solve"
      Returns:
      0 on success, non-zero on error
    • main

      public static void main(String[] args)
      Main entry point for the LDES standalone JAR.
      Parameters:
      args - Command line arguments