Bool function

Bool

Bool

Create a bool in MiniZinc

Examples

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

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.

  • Maintainer: Akshit Achara
  • License: Mozilla Public License Version 2.0
  • Last published: 2021-10-15