Handle class for variables.
#include <variable.h>

Public Member Functions | |
| var (var_obj *VS_) | |
| Creates a new instance of handle class for variables. | |
| var () | |
| Creates a new instance of handle class for variables. | |
| var (const var &v) | |
| Creates a new instance of handle class for variables. | |
| ABA_Variable * | Avar_pointer () |
| Returns the pointer to the coressponding ABA_Vaariable. | |
| var_obj * | var_pointer () const |
| Returns the pointer to the coressponding var-object. | |
| double | obj () |
| Returns the objective function coefficient of the variable. | |
| double | lower_bound () |
| Returns the lower bound of the variable. | |
| double | upper_bound () |
| Returns the upper bound of the variable. | |
| Vartype | type () |
| Returns the type of the variable. | |
| row | operator+ (const row &r) |
| Creates the row this + r. | |
| row | operator- (const row &r) |
| Creates the row this - r. | |
| polynomial | operator+ (const polynomial &p) |
| Creates the polynomial this + p. | |
| polynomial | operator- (const polynomial &p) |
| Creates the polynomial this - p. | |
| polynomial | operator* (const polynomial &p) |
Creates the polynomial this p. | |
| monomial | operator* (const var &a) |
Creates the monomial this a. | |
| row | operator+ (const var &v) |
| Creates the row this + v. | |
| row | operator- (const var &v) |
| Creates the row this - v. | |
| var & | operator= (const var &v) |
| creates the handle class with this.VS = v.VS. | |
| bool | operator< (const var &v1) const |
| returns true if VS < v1.VS | |
| bool | operator<= (const var &v1) const |
| returns true if VS <= v1.VS | |
| bool | operator!= (const var &v1) const |
| returns true if VS != v1.VS | |
| bool | operator== (const var &v1) const |
| returns true if VS == v1.VS | |
| bool | operator> (const var &v1) const |
| returns true if VS > v1.VS | |
| row | operator* (double d) |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const var &v) |
Definition at line 20 of file variable.h.
| row SCIL::var::operator* | ( | double | d | ) |
Creates the row
from the row
.
Definition at line 63 of file variable.cc.
1.6.3