Description Super class Public fields Active bindings Methods
Declaration items in the model
rminizinc::Item -> VarDeclItem
.declthe declaration expression
.delete_flagused to delete items
.declthe declaration expression
.delete_flagused to delete items
new()constructor
VarDeclItem$new(decl = NULL, mzn_str = NULL)
declthe declaration expression object
mzn_strstring representation of variable declaration item
getDecl()get the variable declaration
VarDeclItem$getDecl()
setDecl()set the variable declaration
VarDeclItem$setDecl(e)
evar decl expression
getId()get the identifier object for the variable
VarDeclItem$getId()
c_str()set the variable declaration
convert the declaration to String
VarDeclItem$c_str()
getDeleteFlag()delete flag for internal use
VarDeclItem$getDeleteFlag()
delete()delete the variable item
VarDeclItem$delete()
clone()The objects of this class are cloneable with this method.
VarDeclItem$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.