summaryrefslogtreecommitdiff
path: root/src/theory/arith/matrix.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2013-04-30 00:46:14 -0400
committerTim King <taking@cs.nyu.edu>2013-04-30 00:46:14 -0400
commit2b9e032cc93a96dccab8757326645da82b5866e5 (patch)
tree3d579a615f0d3acbf7edadc7cf81a237c4888f43 /src/theory/arith/matrix.h
parent9098391fe334d829ec4101f190b8f1fa21c30752 (diff)
Adding has bound counts and tracking for rows.
Diffstat (limited to 'src/theory/arith/matrix.h')
-rw-r--r--src/theory/arith/matrix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/arith/matrix.h b/src/theory/arith/matrix.h
index 100f999e0..d93b6986e 100644
--- a/src/theory/arith/matrix.h
+++ b/src/theory/arith/matrix.h
@@ -39,15 +39,15 @@ const RowIndex ROW_INDEX_SENTINEL = std::numeric_limits<RowIndex>::max();
class CoefficientChangeCallback {
public:
- virtual void update(RowIndex basic, ArithVar nb, int oldSgn, int currSgn) = 0;
- virtual void swap(ArithVar basic, ArithVar nb, int nbSgn) = 0;
+ virtual void update(RowIndex ridx, ArithVar nb, int oldSgn, int currSgn) = 0;
+ virtual void multiplyRow(RowIndex ridx, int Sgn) = 0;
virtual bool canUseRow(RowIndex ridx) const = 0;
};
class NoEffectCCCB : public CoefficientChangeCallback {
public:
void update(RowIndex ridx, ArithVar nb, int oldSgn, int currSgn);
- void swap(ArithVar basic, ArithVar nb, int nbSgn);
+ void multiplyRow(RowIndex ridx, int Sgn);
bool canUseRow(RowIndex ridx) const;
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback