blob: 7ff8abec6eb5aad38507fe2a64c35f88c6618eec (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
/********************* */
/*! \file theory_sets.h
** \verbatim
** Original author: Kshitij Bansal
** Major contributors: none
** Minor contributors (to current version): none
** This file is part of the CVC4 project.
** Copyright (c) 2009-2014 New York University and The University of Iowa
** See the file COPYING in the top-level source directory for licensing
** information.\endverbatim
**
** \brief Sets theory.
**
** Sets theory.
**/
#include "cvc4_private.h"
#ifndef __CVC4__THEORY__SETS__THEORY_SETS_H
#define __CVC4__THEORY__SETS__THEORY_SETS_H
#include "theory/theory.h"
#include "theory/uf/equality_engine.h"
namespace CVC4 {
namespace theory {
namespace sets {
class TheorySetsPrivate;
class TheorySetsScrutinize;
class TheorySets : public Theory {
private:
friend class TheorySetsPrivate;
friend class TheorySetsScrutinize;
TheorySetsPrivate* d_internal;
public:
/**
* Constructs a new instance of TheorySets w.r.t. the provided
* contexts.
*/
TheorySets(context::Context* c, context::UserContext* u, OutputChannel& out,
Valuation valuation, const LogicInfo& logicInfo,
SmtGlobals* globals);
~TheorySets();
void addSharedTerm(TNode);
void check(Effort);
void collectModelInfo(TheoryModel*, bool fullModel);
void computeCareGraph();
Node explain(TNode);
EqualityStatus getEqualityStatus(TNode a, TNode b);
Node getModelValue(TNode);
std::string identify() const { return "THEORY_SETS"; }
void preRegisterTerm(TNode node);
void propagate(Effort);
void setMasterEqualityEngine(eq::EqualityEngine* eq);
};/* class TheorySets */
}/* CVC4::theory::sets namespace */
}/* CVC4::theory namespace */
}/* CVC4 namespace */
#endif /* __CVC4__THEORY__SETS__THEORY_SETS_H */
|