Base class of all other classes of ABACUS.
void type(TYPE t)
Sets the variable type to t.
bool discrete() const
Returns true if the type of the variable is Integer or Binary, false otherwise.
friend std::ostream & operator<<(std::ostream &out, const VarType &rhs)
Output operator for variable types.
VarType(TYPE t)
Creates a variable type t.
VarType()
The default constructor: Lets the type of the variable uninitialized.
bool integer() const
Returns true if the type of the variable is Integer, false otherwise.
TYPE
The enumeration with the different variable types.
@ Integer
A general integer variable.
@ Continuous
A continuous variable.
@ Binary
A variable having value 0 or 1.
TYPE type_
The type of the variable.
bool binary() const
Returns true if the type of the variable is Binary, false otherwise.
TYPE type() const
Returns the type of the variable.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()