diff options
author | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-06-15 15:48:16 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-06-15 15:48:16 +1000 |
commit | a61d8b829afab13593e254fc69e260b6346939dc (patch) | |
tree | 80718961a7242840db56eec82c792d7ca07eb654 /impl/Expression.hpp | |
parent | e00d7e6486739221f4d5adea1583743d3e23acfd (diff) |
Parameterise fixpoint and strategy improvement
(command-line arguments specify which to use)
Also:
- Fix up Complete<T> to work comparing `inf` to 1 (stupid bug)
- Clean up the systems/ folder a bit
- Change the printed output to differentiate variables and constants
(!v/!c, respectively)
- Perform a slight optimisation to the strategy-iteration process
Diffstat (limited to 'impl/Expression.hpp')
-rw-r--r-- | impl/Expression.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/impl/Expression.hpp b/impl/Expression.hpp index 72318e4..7fc4542 100644 --- a/impl/Expression.hpp +++ b/impl/Expression.hpp @@ -29,7 +29,7 @@ struct Constant : public Expression<Domain> { } void print(std::ostream& cout) const { - cout << _value; + cout << _value << "!c"; } private: @@ -53,7 +53,7 @@ struct Variable : public Expression<Domain> { } void print(std::ostream& cout) const { - cout << name(); + cout << _name << "!v"; } private: |