diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-07 07:16:49 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-07 07:16:49 +0000 |
commit | 2d7ff62cd52c5c56f29b6567489310cc45767236 (patch) | |
tree | afb975f93b219e7b7a670a4dfc2897e425fd9bf7 /src/expr/command.h | |
parent | ce4a5fe6a2529f11eaff66b6cdcdb32ef5309323 (diff) |
SMT-LIBv2 (define-fun...) command now functional; does eager expansion at preprocessing time
Diffstat (limited to 'src/expr/command.h')
-rw-r--r-- | src/expr/command.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/expr/command.h b/src/expr/command.h index 0c78dd1c6..4c74cfd6c 100644 --- a/src/expr/command.h +++ b/src/expr/command.h @@ -111,14 +111,13 @@ public: class CVC4_PUBLIC DefineFunctionCommand : public Command { protected: - std::string d_name; - std::vector<std::pair<std::string, Type> > d_args; - Type d_type; + Expr d_func; + std::vector<Expr> d_formals; Expr d_formula; public: - DefineFunctionCommand(const std::string& name, - const std::vector<std::pair<std::string, Type> >& args, - Type type, Expr formula); + DefineFunctionCommand(Expr func, + const std::vector<Expr>& formals, + Expr formula); void invoke(SmtEngine* smtEngine); void toStream(std::ostream& out) const; };/* class DefineFunctionCommand */ |