Int
Create an integer in MiniZinc
newInt = Int$new(10) newInt$c_str() newInt$setIntVal(newInt$getIntVal() + 20) newInt$c_str()
rminizinc::Expression
-> Int
.value
: object of class expression
.value
: object of class expression
new()
constructor
Int$new(val)
val
: the value of the integer
getIntVal()
get the IntVal value
Int$getIntVal()
setIntVal()
set the IntVal value
Int$setIntVal(val)
val
: value to be set
c_str()
get the MiniZinc representation
Int$c_str()
clone()
The objects of this class are cloneable with this method.
Int$clone(deep = FALSE)
deep
: Whether to make a deep clone.
Useful links