10 #ifndef __RD_BOUNDS_MATRIX_H__ 11 #define __RD_BOUNDS_MATRIX_H__ 14 #include <boost/smart_ptr.hpp> 102 for (i = 1; i <
d_nRows; i++) {
103 for (j = 0; j < i; j++) {
#define RANGE_CHECK(lo, x, hi)
void setLowerBoundIfBetter(unsigned int i, unsigned int j, double val)
#define CHECK_INVARIANT(expr, mess)
virtual void setVal(unsigned int i, unsigned int j, doubleval)
sets a particular element of the matrix
SquareMatrix()
brief Square matrix of size N
double getUpperBound(unsigned int i, unsigned int j) const
Get the upper bound between points i and j.
boost::shared_ptr< BoundsMatrix > BoundsMatPtr
void setUpperBound(unsigned int i, unsigned int j, double val)
Set the lower bound between points i and j.
void setUpperBoundIfBetter(unsigned int i, unsigned int j, double val)
BoundsMatrix(unsigned int N)
void setLowerBound(unsigned int i, unsigned int j, double val)
Set the lower bound between points i and j.
virtual double getVal(unsigned int i, unsigned int j) const
returns a particular element of the matrix
Class to store the distance bound.
boost::shared_array< double > DATA_SPTR
double getLowerBound(unsigned int i, unsigned int j) const
Get the lower bound between points i and j.
BoundsMatrix(unsigned int N, DATA_SPTR data)