#include <OSInstance.h>
Public Member Functions | |
QuadraticTerm () | |
The QuadraticTerm class constructor. | |
~QuadraticTerm () | |
The QuadraticTerm class destructor. | |
bool | IsEqual (QuadraticTerm *that) |
A function to check for the equality of two objects. | |
QuadraticTerm () | |
The QuadraticTerm class constructor. | |
~QuadraticTerm () | |
The QuadraticTerm class destructor. | |
Public Attributes | |
int | idx |
idx is the index of the row in which the quadratic term appears | |
int | idxOne |
idxOne is the index of the first variable in the quadratic term | |
int | idxTwo |
idxTwo is the index of the second variable in the quadratic term | |
double | coef |
coef is the coefficient of the quadratic term |
Definition at line 374 of file OSInstance.h.
QuadraticTerm::QuadraticTerm | ( | ) |
QuadraticTerm::~QuadraticTerm | ( | ) |
QuadraticTerm::QuadraticTerm | ( | ) |
The QuadraticTerm class constructor.
QuadraticTerm::~QuadraticTerm | ( | ) |
The QuadraticTerm class destructor.
bool QuadraticTerm::IsEqual | ( | QuadraticTerm * | that | ) |
idx is the index of the row in which the quadratic term appears
Definition at line 387 of file OSInstance.h.
Referenced by OSInstance::getQuadraticTerms(), IsEqual(), and OSInstance::setQuadraticTerms().
idxOne is the index of the first variable in the quadratic term
Definition at line 392 of file OSInstance.h.
Referenced by OSInstance::getQuadraticTerms(), IsEqual(), and OSInstance::setQuadraticTerms().
idxTwo is the index of the second variable in the quadratic term
Definition at line 397 of file OSInstance.h.
Referenced by OSInstance::getQuadraticTerms(), IsEqual(), and OSInstance::setQuadraticTerms().
double QuadraticTerm::coef |
coef is the coefficient of the quadratic term
Definition at line 400 of file OSInstance.h.
Referenced by OSInstance::getQuadraticTerms(), IsEqual(), and OSInstance::setQuadraticTerms().