Bool {rminizinc}R Documentation

Bool

Description

Create a bool in MiniZinc

Super class

rminizinc::Expression -> Bool

Public fields

.value

value

Active bindings

.value

value

Methods

Public methods

Inherited 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

newBool = Bool$new(TRUE)
newBool$c_str()

[Package rminizinc version 0.0.8 Index]