// Relevancy stuff
+const double Relevancy::secondsPerDecision = 0.001;
+const double Relevancy::secondsPerExpense = 1e-7;
+const double Relevancy::EPS = 1e-9;
+
+
void Relevancy::setJustified(TNode n)
{
Debug("decision") << " marking [" << n.getId() << "]"<< n << "as justified" << std::endl;
bool d_multipleBacktrace;
//bool d_computeRelevancy; // are we in a mode where we compute relevancy?
- static const double secondsPerDecision = 0.001;
- static const double secondsPerExpense = 1e-7;
- static const double EPS = 1e-9;
+ static const double secondsPerDecision;
+ static const double secondsPerExpense;
+ static const double EPS;
+
/** Maximum time this algorithm should spent as part of whole algorithm */
double d_maxTimeAsPercentageOfTotalTime;
Node BooleanTermConverter::rewriteBooleanTermsRec(TNode top, bool boolParent, std::map<TNode, Node>& quantBoolVars) throw() {
Debug("boolean-terms") << "rewriteBooleanTermsRec: " << top << " - boolParent=" << boolParent << endl;
- BooleanTermCache::iterator i = d_booleanTermCache.find(make_pair<Node, bool>(top, boolParent));
+ BooleanTermCache::iterator i = d_booleanTermCache.find(std::pair<Node, bool>(top, boolParent));
if(i != d_booleanTermCache.end()) {
return (*i).second.isNull() ? Node(top) : (*i).second;
}
return false;
}else{
Assert(x < allocated());
- return d_posVector[x] != POSITION_SENTINEL;
+ return d_posVector[x] != +POSITION_SENTINEL;
}
}
void pop_back() {
Assert(!empty());
Key atBack = back();
- d_posVector[atBack] = POSITION_SENTINEL;
+ d_posVector[atBack] = +POSITION_SENTINEL;
d_image[atBack] = T();
d_list.pop_back();
}
void increaseSize(Key max){
Assert(max >= allocated());
- d_posVector.resize(max+1, POSITION_SENTINEL);
+ d_posVector.resize(max+1, +POSITION_SENTINEL);
d_image.resize(max+1);
}