Learn R Programming

rminizinc (version 0.0.8)

Bool: Bool

Description

Create a bool in MiniZinc

Arguments

Super class

rminizinc::Expression -> Bool

Public fields

.value

value

Active bindings

.value

value

Methods

Public methods

Method new()

constructor

Usage

Bool$new(val)

Arguments

val

boolean input

Method v()

get boolean value

Usage

Bool$v()

Method c_str()

get the MiniZinc representation

Usage

Bool$c_str()

Method clone()

The objects of this class are cloneable with this method.

Usage

Bool$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

Run this code
# NOT RUN {
newBool = Bool$new(TRUE)
newBool$c_str()
# }

Run the code above in your browser using DataLab