From 9d65bdeef307d7732318aec85b84f099a866eff3 Mon Sep 17 00:00:00 2001 From: gereon Date: Sun, 27 Jan 2013 20:58:22 +0100 Subject: [PATCH] next iteration on formulas... removed AbstractFormula::cast() in favor of AbstractModelChecker::as() changed all formulas to use this new one actually implement ::check(AbstractModelChecker) for all formulas --- src/formula/AbstractFormula.h | 12 ------------ src/formula/AbstractPathFormula.h | 5 +---- src/formula/AbstractStateFormula.h | 4 ---- src/formula/And.h | 2 +- src/formula/Ap.h | 2 +- src/formula/BoundOperator.h | 2 +- src/formula/BoundedEventually.h | 2 +- src/formula/BoundedUntil.h | 2 +- src/formula/CumulativeReward.h | 4 ++-- src/formula/Eventually.h | 2 +- src/formula/Globally.h | 2 +- src/formula/InstantaneousReward.h | 4 ++-- src/formula/Next.h | 4 ++-- src/formula/NoBoundOperator.h | 4 ++-- src/formula/Not.h | 2 +- src/formula/Or.h | 4 ++-- src/formula/ReachabilityReward.h | 2 +- src/formula/Until.h | 4 ++-- src/modelChecker/AbstractModelChecker.h | 14 ++++++++++++++ 19 files changed, 36 insertions(+), 41 deletions(-) diff --git a/src/formula/AbstractFormula.h b/src/formula/AbstractFormula.h index 8bd8b8782..ee99f88f2 100644 --- a/src/formula/AbstractFormula.h +++ b/src/formula/AbstractFormula.h @@ -44,18 +44,6 @@ public: * @returns a string representation of the formula */ virtual std::string toString() const = 0; - - template