diff options
author | Tim King <taking@cs.nyu.edu> | 2011-02-17 18:22:16 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2011-02-17 18:22:16 +0000 |
commit | 595024febc8dc014518db8e74a489d3c6d169493 (patch) | |
tree | dd9fc0fc39a156ec9f4dfc91fe1f41153035ad7e /src/theory/arith/simplex.h | |
parent | bb58835b6967953d1e5df3d79bda6b67bc0bb8b7 (diff) |
This commit is the promised clean up after removing row ejection.
Diffstat (limited to 'src/theory/arith/simplex.h')
-rw-r--r-- | src/theory/arith/simplex.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/src/theory/arith/simplex.h b/src/theory/arith/simplex.h index e02e001e3..abd5cb5e6 100644 --- a/src/theory/arith/simplex.h +++ b/src/theory/arith/simplex.h @@ -170,16 +170,12 @@ private: Node generateConflictBelow(ArithVar conflictVar); public: - /** Checks to make sure the assignment is consistent with the tableau. */ + /** + * Checks to make sure the assignment is consistent with the tableau. + * This code is for debugging. + */ void checkTableau(); -private: - //bool shouldEject(ArithVar var); - //void ejectInactiveVariables(); - -public: - //void reinjectVariable(ArithVar x); - /** * Computes the value of a basic variable using the assignments * of the values of the variables in the basic variable's row tableau. @@ -200,17 +196,16 @@ private: */ Node checkBasicForConflict(ArithVar b); - bool d_foundAConflict; - unsigned d_pivotsSinceConflict; + bool d_foundAConflict; // This field is used for statistics keeping ONLY! + unsigned d_pivotsSinceConflict; // This field is used for statistics keeping ONLY! /** These fields are designed to be accessable to TheoryArith methods. */ class Statistics { public: - IntStat d_statPivots, d_statUpdates, d_statAssertUpperConflicts; - IntStat d_statAssertLowerConflicts, d_statUpdateConflicts; - - IntStat d_statEjections, d_statUnEjections; + IntStat d_statPivots, d_statUpdates; + IntStat d_statAssertUpperConflicts, d_statAssertLowerConflicts; + IntStat d_statUpdateConflicts; IntStat d_statEarlyConflicts, d_statEarlyConflictImprovements; TimerStat d_selectInitialConflictTime; |