]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commit
This makes SimplifyTerm idempotent. My hope is that this will reduce the number of...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 11 Jun 2010 02:04:18 +0000 (02:04 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 11 Jun 2010 02:04:18 +0000 (02:04 +0000)
commit39f66e01a3c2be95e511244eb1052b9e868a9a06
tree82d9b8cc7234b68e3b1af7c5adf542c274b484d0
parent77655ad2b2a3a01c9cd0ed80180d8b23b9c8615e
This makes SimplifyTerm idempotent. My hope is that this will reduce the number of times that the toplevel function needs to be called. If a term at the bottom of the graph doesn't map to itself when SimplifyTerm is run, then all the nodes above it will need to be re-created next time SimplifyTerm is called on the graph.

This patch adds an assertion function that isn't enabled.

git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@830 e59a4935-1847-0410-ae03-e826735625c1
src/simplifier/simplifier.cpp
src/simplifier/simplifier.h