1 /********************* */
2 /*! \file bounded_integers.h
4 ** Original author: Andrew Reynolds
5 ** This file is part of the CVC4 project.
6 ** Copyright (c) 2009-2013 New York University and The University of Iowa
7 ** See the file COPYING in the top-level source directory for licensing
8 ** information.\endverbatim
10 ** \brief This class manages integer bounds for quantifiers
13 #include "cvc4_private.h"
15 #ifndef __CVC4__REWRITE_ENGINE_H
16 #define __CVC4__REWRITE_ENGINE_H
18 #include "theory/quantifiers_engine.h"
19 #include "theory/quantifiers/trigger.h"
21 #include "context/context.h"
22 #include "context/context_mm.h"
23 #include "context/cdchunk_list.h"
27 namespace quantifiers
{
29 class RewriteEngine
: public QuantifiersModule
31 typedef context::CDHashMap
<Node
, bool, NodeHashFunction
> NodeBoolMap
;
32 typedef context::CDHashMap
<Node
, int, NodeHashFunction
> NodeIntMap
;
33 typedef context::CDHashMap
<Node
, Node
, NodeHashFunction
> NodeNodeMap
;
34 std::vector
< Node
> d_rr_quant
;
35 /** explicitly provided patterns */
36 std::map
< Node
, std::vector
< inst::Trigger
* > > d_rr_triggers
;
38 int checkRewriteRule( Node f
);
40 RewriteEngine( context::Context
* c
, QuantifiersEngine
* qe
);
42 void check( Theory::Effort e
);
43 void registerQuantifier( Node f
);
44 void assertNode( Node n
);