Description Super class Public fields Active bindings Methods
Create if-then-else expressions in MiniZinc
rminizinc::Expression -> Ite
.ifslist of if expressions
.thenslist of corresponding then expressions
.elseelse expression
.delete_flagused to delete items
.ifslist of if expressions
.thenslist of corresponding then expressions
.elseelse expression
.delete_flagused to delete items
new()constructor
Ite$new(ifs, thens, Else)
ifslist of if expressions
thenslist of corresponding then expressions
Elseelse expression
getIfs()get the if expression list
Ite$getIfs()
getThens()get the then expression list
Ite$getThens()
setIfsThens()set the if and then expression list
Ite$setIfsThens(ifs, thens)
ifsexpression list to be set
thensexpression list to be set
getIf()get the ith if expression
Ite$getIf(i)
iindex
setIf()set the ith if expression
Ite$setIf(i, expIf)
iindex
expIfif expression to be set
getThen()get the ith then expression
Ite$getThen(i)
iindex
setThen()set the ith then expression
Ite$setThen(i, expThen)
iindex
expThenthen expression to be set
getElse()get the else expression
Ite$getElse()
setElse()get the else expression
Ite$setElse(expElse)
expElseelse expression to be set
c_str()get the MiniZinc representation
Ite$c_str()
getDeleteFlag()delete flag for internal use
Ite$getDeleteFlag()
delete()delete the assignment item
Ite$delete()
clone()The objects of this class are cloneable with this method.
Ite$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.