diff options
author | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-05-25 13:24:37 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-05-25 13:24:37 +1000 |
commit | 61f90f14af8796bbed074538882e76f1e1bf3333 (patch) | |
tree | 5d1dc744b47817a39b905418b1fc76bb828cea4a /impl/Expression.hpp | |
parent | ee8547cf3c89c51ff10603814e6f745466bc4c79 (diff) |
Try to make some more modular Fixpoint algorithms.
Diffstat (limited to 'impl/Expression.hpp')
-rw-r--r-- | impl/Expression.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/impl/Expression.hpp b/impl/Expression.hpp index 5cf82d4..4798e60 100644 --- a/impl/Expression.hpp +++ b/impl/Expression.hpp @@ -22,6 +22,9 @@ struct Expression { virtual T operator() (const VariableAssignment<T>& assignment) const { return (*_operator)(_arguments, assignment); } + virtual T operator() (const VariableAssignment<T>& assignment, VariableSet<T>* visited) const { + return (*_operator)(_arguments, assignment, visited); + } protected: Operator<T>* _operator; std::vector< Expression<T>* > _arguments; |