Description Super class Public fields Active bindings Methods Examples
Create a binary operation expression possible binary operators are: "+", "-", "!=", "<->", ">=", "<=", "*", ">", "<", "->", "<-", "..", "\/", "/\", "'not'", "subset", "superset", "union", "diff", "symdiff", "intersect", "^", "div", "mod", "/", "++", "xor", "in", "="
rminizinc::Expression -> BinOp
.lhs_expthe left hand side expression
.rhs_expthe right hand side expression
.opthe operator
.delete_flagused to delete items
.lhs_expthe left hand side expression
.rhs_expthe right hand side expression
.opthe operator
.delete_flagused to delete items
new()constructor
BinOp$new(lhs, binop, rhs)
lhsthe left hand side expression
binopthe binary operator to be used
rhsthe right hand side expression
getLhs()get the lhs expression
BinOp$getLhs()
getRhs()get the rhs expression
BinOp$getRhs()
getOp()get the operator
BinOp$getOp()
setOp()set the operator
BinOp$setOp(binop)
opbinary operator to be set
setLhs()set the lhs expression
BinOp$setLhs(e)
eexpression to set
setRhs()set the rhs expression
BinOp$setRhs(e)
eexpression to set
c_str()return the MiniZinc representation
BinOp$c_str()
getDeleteFlag()delete flag for internal use
BinOp$getDeleteFlag()
delete()delete the assignment item
BinOp$delete()
clone()The objects of this class are cloneable with this method.
BinOp$clone(deep = FALSE)
deepWhether to make a deep clone.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.