Bool: Bool

Description Super class Public fields Active bindings Methods Examples

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

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

rminizinc documentation built on Oct. 15, 2021, 9:06 a.m.