Limbo
|
Describe properties of a variable. More...
#include <Solvers.h>
Public Types | |
typedef V | variable_value_type |
type of bounds | |
Public Member Functions | |
VariableProperty (variable_value_type lb, variable_value_type ub, SolverProperty nt, std::string const &n) | |
constructor More... | |
VariableProperty (VariableProperty const &rhs) | |
copy constructor More... | |
VariableProperty & | operator= (VariableProperty const &rhs) |
assignment More... | |
variable_value_type | lowerBound () const |
void | setLowerBound (variable_value_type lb) |
void | updateLowerBound (variable_value_type lb) |
variable_value_type | upperBound () const |
void | setUpperBound (variable_value_type ub) |
void | updateUpperBound (variable_value_type ub) |
SolverProperty | numericType () const |
void | setNumericType (SolverProperty nt) |
std::string const & | name () const |
void | setName (std::string const &n) |
Protected Member Functions | |
void | copy (VariableProperty const &rhs) |
copy object More... | |
Protected Attributes | |
variable_value_type | m_lowerBound |
lower bound | |
variable_value_type | m_upperBound |
upper bound | |
SolverProperty | m_numericType |
numeric type, BINARY, INTEGER, CONTINUOUS | |
std::string | m_name |
name of variable | |
Describe properties of a variable.
V | type of variable bound |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |