The in-memory representation of the <qTerm> element. More...
#include <OSInstance.h>
Public Member Functions | |
QuadraticTerm () | |
The QuadraticTerm class constructor. More... | |
~QuadraticTerm () | |
The QuadraticTerm class destructor. More... | |
bool | IsEqual (QuadraticTerm *that) |
A function to check for the equality of two objects. More... | |
QuadraticTerm () | |
The QuadraticTerm class constructor. More... | |
~QuadraticTerm () | |
The QuadraticTerm class destructor. More... | |
Public Attributes | |
int | idx |
idx is the index of the row in which the quadratic term appears More... | |
int | idxOne |
idxOne is the index of the first variable in the quadratic term More... | |
int | idxTwo |
idxTwo is the index of the second variable in the quadratic term More... | |
double | coef |
coef is the coefficient of the quadratic term More... | |
The in-memory representation of the <qTerm> element.
Definition at line 340 of file OSInstance.h.
QuadraticTerm::QuadraticTerm | ( | ) |
The QuadraticTerm class constructor.
Definition at line 763 of file OSInstance.cpp.
QuadraticTerm::~QuadraticTerm | ( | ) |
The QuadraticTerm class destructor.
Definition at line 777 of file OSInstance.cpp.
QuadraticTerm::QuadraticTerm | ( | ) |
The QuadraticTerm class constructor.
QuadraticTerm::~QuadraticTerm | ( | ) |
The QuadraticTerm class destructor.
bool QuadraticTerm::IsEqual | ( | QuadraticTerm * | that | ) |
A function to check for the equality of two objects.
Definition at line 8519 of file OSInstance.cpp.
int QuadraticTerm::idx |
idx is the index of the row in which the quadratic term appears
Definition at line 353 of file OSInstance.h.
int QuadraticTerm::idxOne |
idxOne is the index of the first variable in the quadratic term
Definition at line 358 of file OSInstance.h.
int QuadraticTerm::idxTwo |
idxTwo is the index of the second variable in the quadratic term
Definition at line 363 of file OSInstance.h.
double QuadraticTerm::coef |
coef is the coefficient of the quadratic term
Definition at line 366 of file OSInstance.h.