namespace CVC4 {
namespace theory {
-Node Valuation::getValue(TNode n) {
+Node Valuation::getValue(TNode n) const {
return d_engine->getValue(n);
}
-Node Valuation::getSatValue(TNode n) {
+Node Valuation::getSatValue(TNode n) const{
if(n.getKind() == kind::NOT) {
Node atomRes = d_engine->getPropEngine()->getValue(n[0]);
if(atomRes.getKind() == kind::CONST_BOOLEAN){
d_engine(engine) {
}
- Node getValue(TNode n);
+ Node getValue(TNode n) const;
/**
* Get the current SAT assignment to the node n.
*
* @return Node::null() if no current assignment; otherwise true or false.
*/
- Node getSatValue(TNode n);
+ Node getSatValue(TNode n) const;
};/* class Valuation */