summaryrefslogtreecommitdiff
path: root/src/proof/sat_proof.h
diff options
context:
space:
mode:
authorLiana Hadarean <lianahady@gmail.com>2016-04-30 09:57:43 -0700
committerLiana Hadarean <lianahady@gmail.com>2016-04-30 09:57:43 -0700
commit53c301aa808218abe725014e01bddc19fe11a116 (patch)
tree92b9034a04013a91cff2445748917225540119a3 /src/proof/sat_proof.h
parente8401e39fafe951b42bd8e6255c3a98be7441029 (diff)
Reviewed Tim's Asan changes and improved SatProof comments.
Diffstat (limited to 'src/proof/sat_proof.h')
-rw-r--r--src/proof/sat_proof.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/proof/sat_proof.h b/src/proof/sat_proof.h
index 54ad28377..bda8094be 100644
--- a/src/proof/sat_proof.h
+++ b/src/proof/sat_proof.h
@@ -313,8 +313,22 @@ class TSatProof {
// to SAT solver
IdToConflicts d_assumptionConflictsDebug;
- // resolutions
+ // Resolutions.
+
+ /**
+ * Map from ClauseId to resolution chain corresponding proving the
+ * clause corresponding to the ClauseId. d_resolutionChains owns the
+ * memory of the ResChain* it contains.
+ */
IdResMap d_resolutionChains;
+
+ /*
+ * Stack containting current ResChain* we are working on. d_resStack
+ * owns the memory for the ResChain* it contains. Invariant: no
+ * ResChain* pointer can be both in d_resStack and
+ * d_resolutionChains. Memory ownership is transfered from
+ * d_resStack to d_resolutionChains via registerResolution.
+ */
ResStack d_resStack;
bool d_checkRes;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback