}
Node CoreSolver::getBaseDecomposition(TNode a) {
- if (d_normalFormCache.find(a) != d_normalFormCache.end()) {
- return d_normalFormCache[a];
- }
+ // if (d_normalFormCache.find(a) != d_normalFormCache.end()) {
+ // return d_normalFormCache[a];
+ // }
// otherwise we must compute the normal form
std::vector<Node> a_decomp;
d_slicer->getBaseDecomposition(a, a_decomp);
Node new_a = utils::mkConcat(a_decomp);
- d_normalFormCache[a] = new_a;
+ // d_normalFormCache[a] = new_a;
return new_a;
}
__gnu_cxx::hash_map<TermId, TNode> d_idToNode;
__gnu_cxx::hash_map<TNode, TermId, TNodeHashFunction> d_nodeToId;
__gnu_cxx::hash_map<TNode, bool, TNodeHashFunction> d_coreTermCache;
- __gnu_cxx::hash_map<TNode, std::vector<Node>, TNodeHashFunction> d_decompositionCache;
UnionFind d_unionFind;
ExtractTerm registerTerm(TNode node);
public: