Represents a bound of a variable.
More...
#include <Bound.h>
|
static Bound * | Parse (std::string line) |
| Parses a line of the LP file representing a Bound. More...
|
|
static void | dump (const Bound &cons, std::ostream &out) |
| Dumps a Bound instance to an ostream in a text format. More...
|
|
Represents a bound of a variable.
Definition at line 53 of file Bound.h.
lpcompare::Bound::Bound |
( |
| ) |
|
|
inline |
void lpcompare::Bound::dump |
( |
const Bound & |
bound, |
|
|
std::ostream & |
out |
|
) |
| |
|
static |
Dumps a Bound instance to an ostream in a text format.
- Parameters
-
Definition at line 234 of file Bound.cpp.
bool lpcompare::Bound::operator!= |
( |
const Bound & |
other | ) |
const |
Compares two Bound instances for inequality.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if Bound instances are not equivalent.
Definition at line 158 of file Bound.cpp.
bool lpcompare::Bound::operator< |
( |
const Bound & |
other | ) |
const |
Compares two Bound instances.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if self is less than other.
Definition at line 130 of file Bound.cpp.
Bound& lpcompare::Bound::operator= |
( |
const Bound & |
element | ) |
|
|
inline |
bool lpcompare::Bound::operator== |
( |
const Bound & |
other | ) |
const |
Compares two Bound instances for equality.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if Bound instances are equivalent.
Definition at line 116 of file Bound.cpp.
Bound * lpcompare::Bound::Parse |
( |
std::string |
line | ) |
|
|
static |
Parses a line of the LP file representing a Bound.
- Parameters
-
line | Single line of an LP file. |
- Returns
- A Bound instance representing line.
Definition at line 168 of file Bound.cpp.
std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
const Bound & |
bound |
|
) |
| |
|
friend |
float lpcompare::Bound::LB |
float lpcompare::Bound::UB |
std::string lpcompare::Bound::VarName |
The documentation for this class was generated from the following files: