Description Super class Public fields Active bindings Methods Examples
Create a generator in MiniZinc
rminizinc::Expression
-> Generator
.decls
variable declarations
.in
in expression
where
where expression
.delete_flag
used to delete items
.decls
variable declarations
.in
in expression
where
where expression
.delete_flag
used to delete items
new()
constructor
Generator$new(decls, IN = NULL, where = NULL)
decls
list of variable declarations
IN
the in expression of generator
where
the where expression of generator
getIn()
get the in expression
Generator$getIn()
setIn()
set the in expression
Generator$setIn(expIn)
expIn
expression to be set
getWhere()
get the where expression
Generator$getWhere()
setWhere()
get the where expression
Generator$setWhere(expWhere)
expWhere
where expression (or NULL)
getDecl()
get the ith declaration
Generator$getDecl(i)
i
index
setDecl()
get the ith declaration
Generator$setDecl(i, decl)
i
index
decl
declaration 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)
deep
Whether 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.