Package jline.cli
Class LdesCLI
java.lang.Object
jline.cli.LdesCLI
CLI for the standalone ldes.jar (LDES simulation engine).
Usage: java -jar ldes.jar solve model.json -o result.json [OPTIONS]
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWire protocol level, printed byldes --protocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic inthandleSolveCommand(String[] args) Handles the 'solve' command for LDES simulation.static voidMain entry point for the LDES standalone JAR.
-
Field Details
-
PROTOCOL
public static final int PROTOCOLWire protocol level, printed byldes --protocol. Kept equal tokLdesProtocolin 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
Handles the 'solve' command for LDES simulation.- Parameters:
args- command-line arguments after "solve"- Returns:
- 0 on success, non-zero on error
-
main
Main entry point for the LDES standalone JAR.- Parameters:
args- Command line arguments
-