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_exp
the left hand side expression
.rhs_exp
the right hand side expression
.op
the operator
.delete_flag
used to delete items
.lhs_exp
the left hand side expression
.rhs_exp
the right hand side expression
.op
the operator
.delete_flag
used to delete items
new()
constructor
BinOp$new(lhs, binop, rhs)
lhs
the left hand side expression
binop
the binary operator to be used
rhs
the 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)
op
binary operator to be set
setLhs()
set the lhs expression
BinOp$setLhs(e)
e
expression to set
setRhs()
set the rhs expression
BinOp$setRhs(e)
e
expression 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)
deep
Whether 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.