Description Super class Public fields Active bindings Methods Examples
Create type instantiation with indices, etc.
rminizinc::Expression
-> TypeInst
.indExpr
the index expression
.domain
the domain of possible values to be taken
.type
the type information
.indExpr
the index expression
.domain
the domain of possible values to be taken
.type
the type information
new()
constructor
TypeInst$new(type, indexExprVec = NULL, domain = NULL)
type
type of declaration
indexExprVec
expression list of indices
domain
the domain of decision variables
getDomain()
get the variable domain
TypeInst$getDomain()
setDomain()
set the variable domain
TypeInst$setDomain(dom)
dom
domain expression to be set
ranges()
return the index expression vector
TypeInst$ranges()
isArray()
check if it's an array
TypeInst$isArray()
type()
return the type information
TypeInst$type()
clone()
The objects of this class are cloneable with this method.
TypeInst$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.