Assign values to variables in MiniZinc by creating an assignment item.
rminizinc::Item -> AssignItem
.declassociated declaration
.evalue to be assigned
.delete_flagused to delete items
.declassociated declaration
.evalue to be assigned
.delete_flagused to delete items
new()constructor
AssignItem$new(decl, value)
decldeclaration associated with assignment.
valueexpression to be assigned.
id()get the name of assigned variable
AssignItem$id()
getValue()get the value
AssignItem$getValue()
setValue()set the value
AssignItem$setValue(val)
valvalue/expression to be set
getDecl()get the associated declaration
AssignItem$getDecl()
setDecl()set the associated declaration
AssignItem$setDecl(decl)
decldeclaration to be set
c_str()get the MiniZinc representation
AssignItem$c_str()
getDeleteFlag()delete flag for internal use
AssignItem$getDeleteFlag()
delete()delete the assignment item
AssignItem$delete()
clone()The objects of this class are cloneable with this method.
AssignItem$clone(deep = FALSE)
deepWhether to make a deep clone.