1 /********************* */
4 ** Original author: mdeters
5 ** Major contributors: none
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 prototype.
8 ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
9 ** Courant Institute of Mathematical Sciences
10 ** New York University
11 ** See the file COPYING in the top-level source directory for licensing
12 ** information.\endverbatim
14 ** \brief A "valuation" proxy for TheoryEngine
16 ** A "valuation" proxy for TheoryEngine. This class breaks the dependence
17 ** of theories' getValue() implementations on TheoryEngine. getValue()
18 ** takes a Valuation, which delegates to TheoryEngine.
21 #include "cvc4_private.h"
23 #ifndef __CVC4__THEORY__VALUATION_H
24 #define __CVC4__THEORY__VALUATION_H
26 #include "expr/node.h"
35 TheoryEngine
* d_engine
;
37 Valuation(TheoryEngine
* engine
) :
41 Node
getValue(TNode n
);
43 };/* class Valuation */
45 }/* CVC4::theory namespace */
48 #endif /* __CVC4__THEORY__VALUATION_H */