summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-08 23:35:21 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-08 23:35:21 +0000
commita0411d4baad389ce88d4bd26edc8ed811625887c (patch)
treeabebf0e104058828b8bde47b362e010cf6ef3f60
parent58372a2ad23298810ae886a16db3c57f9df251af (diff)
The option --arith-presolve-lemmas had previously been renamed --unate-lemmas.
This commit just renames it in --help documentation, etc.
-rw-r--r--src/util/options.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/options.cpp b/src/util/options.cpp
index c86109d34..78eea71ad 100644
--- a/src/util/options.cpp
+++ b/src/util/options.cpp
@@ -218,8 +218,8 @@ Additional CVC4 options:\n\
--restart-int-inc=F restart interval increase factor for the sat solver\n\
(F=3.0 by default)\n\
ARITHMETIC:\n\
- --arith-presolve-lemmas=MODE determines which lemmas to add before solving\n\
- (default is 'all', see --arith-presolve-lemmas=help)\n\
+ ---unate-lemmas=MODE determines which lemmas to add before solving\n\
+ (default is 'all', see --unate-lemmas=help)\n\
--arith-prop=MODE turns on arithmetic propagation\n\
(default is 'old', see --arith-prop=help)\n\
--pivot-rule=RULE change the pivot rule for the basic variable\n\
@@ -372,10 +372,10 @@ pipe to perform on-line checking. The --dump-to option can be used to dump\n\
to a file.\n\
";
-static const string arithPresolveLemmasHelp = "\
+static const string arithUnateLemmasHelp = "\
Presolve lemmas are generated before SAT search begins using the relationship\n\
of constant terms and polynomials.\n\
-Modes currently supported by the --arith-presolve-lemmas option:\n\
+Modes currently supported by the --unate-lemmas option:\n\
+ none \n\
+ ineqs \n\
Outputs lemmas of the general form (<= p c) implies (<= p d) for c < d.\n\
@@ -1156,11 +1156,11 @@ throw(OptionException) {
arithUnateLemmaMode = EQUALITY_PRESOLVE_LEMMAS;
break;
} else if(!strcmp(optarg, "help")) {
- puts(arithPresolveLemmasHelp.c_str());
+ puts(arithUnateLemmasHelp.c_str());
exit(1);
} else {
- throw OptionException(string("unknown option for --arith-presolve-lemmas: `") +
- optarg + "'. Try --arith-presolve-lemmas=help.");
+ throw OptionException(string("unknown option for --unate-lemmas: `") +
+ optarg + "'. Try --unate-lemmas=help.");
}
break;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback