}
}
-void EqualityEngine::debugPrintGraph() const {
- Trace("equality::graph") << std::endl << "Dumping graph" << std::endl;
- for (EqualityNodeId nodeId = 0; nodeId < d_nodes.size(); ++ nodeId) {
-
- Trace("equality::graph") << d_nodes[nodeId] << " " << nodeId << "(" << getEqualityNode(nodeId).getFind() << "):";
+void EqualityEngine::debugPrintGraph() const
+{
+ Trace("equality::internal") << std::endl << "Dumping graph" << std::endl;
+ for (EqualityNodeId nodeId = 0; nodeId < d_nodes.size(); ++nodeId)
+ {
+ Trace("equality::internal") << d_nodes[nodeId] << " " << nodeId << "("
+ << getEqualityNode(nodeId).getFind() << "):";
EqualityEdgeId edgeId = d_equalityGraph[nodeId];
- while (edgeId != null_edge) {
+ while (edgeId != null_edge)
+ {
const EqualityEdge& edge = d_equalityEdges[edgeId];
- Trace("equality::graph") << " [" << edge.getNodeId() << "] " << d_nodes[edge.getNodeId()] << ":" << edge.getReason();
+ Trace("equality::internal")
+ << " [" << edge.getNodeId() << "] " << d_nodes[edge.getNodeId()]
+ << ":" << edge.getReason();
edgeId = edge.getNext();
}
- Trace("equality::graph") << std::endl;
+ Trace("equality::internal") << std::endl;
}
- Trace("equality::graph") << std::endl;
+ Trace("equality::internal") << std::endl;
}
std::string EqualityEngine::debugPrintEqc() const