summaryrefslogtreecommitdiff
path: root/src/theory/mktheorytraits
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-10-04 12:21:16 -0500
committerGitHub <noreply@github.com>2018-10-04 12:21:16 -0500
commit7b76222cacbdb906dca1543b53e0f113dc1e1826 (patch)
tree517ee09dd249bc14b12b33b63fdca390e945384d /src/theory/mktheorytraits
parent0fb4d4e9ac57e084ef456548358439cc07d2c7d3 (diff)
Clean remaining references to getNextDecisionRequest and simplify (#2500)
Diffstat (limited to 'src/theory/mktheorytraits')
-rwxr-xr-xsrc/theory/mktheorytraits6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/theory/mktheorytraits b/src/theory/mktheorytraits
index 15166fc1f..456a4b0ea 100755
--- a/src/theory/mktheorytraits
+++ b/src/theory/mktheorytraits
@@ -53,7 +53,6 @@ theory_has_ppStaticLearn="false"
theory_has_notifyRestart="false"
theory_has_presolve="false"
theory_has_postsolve="false"
-theory_has_getNextDecisionRequest="false"
theory_stable_infinite="false"
theory_finite="false"
@@ -177,14 +176,13 @@ struct TheoryTraits<${theory_id}> {
static const bool hasNotifyRestart = ${theory_has_notifyRestart};
static const bool hasPresolve = ${theory_has_presolve};
static const bool hasPostsolve = ${theory_has_postsolve};
- static const bool hasGetNextDecisionRequest = ${theory_has_getNextDecisionRequest};
};/* struct TheoryTraits<${theory_id}> */
"
# warnings about theory content and properties
dir="$(dirname "$kf")/../../"
if [ -e "$dir/$theory_header" ]; then
- for function in check propagate ppStaticLearn notifyRestart presolve postsolve getNextDecisionRequest; do
+ for function in check propagate ppStaticLearn notifyRestart presolve postsolve; do
if eval "\$theory_has_$function"; then
grep '\<'"$function"' *\((\|;\)' "$dir/$theory_header" | grep -vq '^ */\(/\|\*\)' ||
echo "$kf: warning: $theory_class has property \"$function\" in its kinds file but doesn't appear to declare the function" >&2
@@ -203,7 +201,6 @@ struct TheoryTraits<${theory_id}> {
theory_has_notifyRestart="false"
theory_has_presolve="false"
theory_has_postsolve="false"
- theory_has_getNextDecisionRequest="false"
theory_stable_infinite="false"
theory_finite="false"
@@ -286,7 +283,6 @@ function properties {
ppStaticLearn) theory_has_ppStaticLearn="true";;
presolve) theory_has_presolve="true";;
postsolve) theory_has_postsolve="true";;
- getNextDecisionRequest) theory_has_getNextDecisionRequest="true";;
notifyRestart) theory_has_notifyRestart="true";;
*) echo "$kf:$lineno: error: unknown theory property \"$property\"" >&2; exit 1;;
esac
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback