Skip to content
Snippets Groups Projects
Commit 8a8b363a authored by hansen's avatar hansen
Browse files

added command line argument for deferred set size

parent aa8a7703
Branches
Tags
Loading
...@@ -277,7 +277,16 @@ public class TLC4B { ...@@ -277,7 +277,16 @@ public class TLC4B {
} }
int maxint = Integer.parseInt(args[index]); int maxint = Integer.parseInt(args[index]);
TLC4BGlobals.setMAX_INT(maxint); TLC4BGlobals.setMAX_INT(maxint);
} else if (args[index].toLowerCase().equals("-minint")) { } else if (args[index].toLowerCase().equals("-default_setsize")) {
index = index + 1;
if (index == args.length) {
throw new TLC4BIOException(
"Error: Number requiered after option '-default_setsize'.");
}
int deferredSetSize = Integer.parseInt(args[index]);
TLC4BGlobals.setDEFERRED_SET_SIZE(deferredSetSize);
}
else if (args[index].toLowerCase().equals("-minint")) {
index = index + 1; index = index + 1;
if (index == args.length) { if (index == args.length) {
throw new TLC4BIOException( throw new TLC4BIOException(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment