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