Description Super class Public fields Active bindings Methods Examples
Create type instantiation with indices, etc.
rminizinc::Expression -> TypeInst
.indExprthe index expression
.domainthe domain of possible values to be taken
.typethe type information
.indExprthe index expression
.domainthe domain of possible values to be taken
.typethe type information
new()constructor
TypeInst$new(type, indexExprVec = NULL, domain = NULL)
typetype of declaration
indexExprVecexpression list of indices
domainthe domain of decision variables
getDomain()get the variable domain
TypeInst$getDomain()
setDomain()set the variable domain
TypeInst$setDomain(dom)
domdomain 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)
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.