| Ite {rminizinc} | R Documentation |
Ite
Description
Create if-then-else expressions in MiniZinc
Super class
rminizinc::Expression -> Ite
Public fields
.ifslist of if expressions
.thenslist of corresponding then expressions
.elseelse expression
.delete_flagused to delete items
Active bindings
.ifslist of if expressions
.thenslist of corresponding then expressions
.elseelse expression
.delete_flagused to delete items
Methods
Public methods
Inherited methods
Method new()
constructor
Usage
Ite$new(ifs, thens, Else)
Arguments
ifslist of if expressions
thenslist of corresponding then expressions
Elseelse expression
Method getIfs()
get the if expression list
Usage
Ite$getIfs()
Method getThens()
get the then expression list
Usage
Ite$getThens()
Method setIfsThens()
set the if and then expression list
Usage
Ite$setIfsThens(ifs, thens)
Arguments
ifsexpression list to be set
thensexpression list to be set
Method getIf()
get the ith if expression
Usage
Ite$getIf(i)
Arguments
iindex
Method setIf()
set the ith if expression
Usage
Ite$setIf(i, expIf)
Arguments
iindex
expIfif expression to be set
Method getThen()
get the ith then expression
Usage
Ite$getThen(i)
Arguments
iindex
Method setThen()
set the ith then expression
Usage
Ite$setThen(i, expThen)
Arguments
iindex
expThenthen expression to be set
Method getElse()
get the else expression
Usage
Ite$getElse()
Method setElse()
get the else expression
Usage
Ite$setElse(expElse)
Arguments
expElseelse expression to be set
Method c_str()
get the MiniZinc representation
Usage
Ite$c_str()
Method getDeleteFlag()
delete flag for internal use
Usage
Ite$getDeleteFlag()
Method delete()
delete the assignment item
Usage
Ite$delete()
Method clone()
The objects of this class are cloneable with this method.
Usage
Ite$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.