#include <BiReg.h>
Public Member Functions | |
Decimal | dist () |
Returns the Decimal value _dist. | |
int | m1 () |
Returns the first int value _m._m1. | |
int | m2 () |
Return the second int value _m._m1. | |
DubInt | m () |
Return the DubInt _m. | |
DDubInt () | |
Null constructor. | |
DDubInt (int a, int b, Decimal c) | |
Constructor. | |
DDubInt (const DDubInt &db) | |
Copy constructor. | |
DDubInt | operator= (DDubInt db) |
Assignment operator =. | |
string | print () |
Print function. | |
Protected Attributes | |
DubInt | _m |
Decimal | _dist |
This class is used to represents two index of two different vectors and the associated distance.
MipAlgorithms::DDubInt::DDubInt | ( | ) |
Null constructor.
MipAlgorithms::DDubInt::DDubInt | ( | int | a, | |
int | b, | |||
Decimal | c | |||
) |
Constructor.
MipAlgorithms::DDubInt::DDubInt | ( | const DDubInt & | db | ) |
Copy constructor.
Decimal MipAlgorithms::DDubInt::dist | ( | ) |
Returns the Decimal value _dist.
int MipAlgorithms::DDubInt::m1 | ( | ) |
Returns the first int value _m._m1.
int MipAlgorithms::DDubInt::m2 | ( | ) |
Return the second int value _m._m1.
string MipAlgorithms::DDubInt::print | ( | ) |
Print function.
DubInt MipAlgorithms::DDubInt::_m [protected] |
Decimal MipAlgorithms::DDubInt::_dist [protected] |