blob: 3b95281c01ed55926cd4b3fe18d23057947e2ecb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/********************* */
/*! \file fun_def_engine.h
** \verbatim
** Top contributors (to current version):
** Andrew Reynolds, Tim King
** This file is part of the CVC4 project.
** Copyright (c) 2009-2016 by the authors listed in the file AUTHORS
** in the top-level source directory) and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
** \brief Specialized techniques for (recursively) defined functions
**/
#include "cvc4_private.h"
#ifndef __CVC4__QUANTIFIERS_FUN_DEF_ENGINE_H
#define __CVC4__QUANTIFIERS_FUN_DEF_ENGINE_H
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include "expr/node.h"
#include "expr/type_node.h"
#include "theory/quantifiers_engine.h"
namespace CVC4 {
namespace theory {
namespace quantifiers {
//module for handling (recursively) defined functions
class FunDefEngine : public QuantifiersModule {
private:
public:
FunDefEngine( QuantifiersEngine * qe, context::Context* c );
~FunDefEngine(){}
/* whether this module needs to check this round */
bool needsCheck( Theory::Effort e );
/* reset at a round */
void reset_round( Theory::Effort e );
/* Call during quantifier engine's check */
void check( Theory::Effort e, unsigned quant_e );
/* Called for new quantifiers */
void registerQuantifier( Node q );
/** called for everything that gets asserted */
void assertNode( Node n );
/** Identify this module (for debugging, dynamic configuration, etc..) */
std::string identify() const { return "FunDefEngine"; }
};
}
}
}
#endif
|