Description Super class Public fields Active bindings Methods Examples
Create a generator in MiniZinc
rminizinc::Expression -> Generator
.declsvariable declarations
.inin expression
wherewhere expression
.delete_flagused to delete items
.declsvariable declarations
.inin expression
wherewhere expression
.delete_flagused to delete items
new()constructor
Generator$new(decls, IN = NULL, where = NULL)
declslist of variable declarations
INthe in expression of generator
wherethe where expression of generator
getIn()get the in expression
Generator$getIn()
setIn()set the in expression
Generator$setIn(expIn)
expInexpression to be set
getWhere()get the where expression
Generator$getWhere()
setWhere()get the where expression
Generator$setWhere(expWhere)
expWherewhere expression (or NULL)
getDecl()get the ith declaration
Generator$getDecl(i)
iindex
setDecl()get the ith declaration
Generator$setDecl(i, decl)
iindex
decldeclaration to be set
c_str()get the MiniZinc representation
Generator$c_str()
getDeleteFlag()delete flag for internal use
Generator$getDeleteFlag()
delete()delete the assignment item
Generator$delete()
clone()The objects of this class are cloneable with this method.
Generator$clone(deep = FALSE)
deepWhether to make a deep clone.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.