BoolArithmetic¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLBasicModules
definition mlBasicModules.def keywords bit
,operation
,negation
,boolean
Purpose¶
This module computes simple boolean operations.
Usage¶
Select the desired operation and mark the boolean input fields.
Details¶
Depending on the given input values, corresponding boolean output values are being computed.
The following table gives an overview over the given boolean operations:
Operation | Input Bool A | Input Bool B | Output Bool C |
---|---|---|---|
Identity | A | – | A |
Negation | A | – | -A |
And | A | B | A and B |
Or | A | B | A or B |
Xor | A | B | A xor B |
Equal | A | B | A == B |
Implication | A | B | A –> B |
Parameter Fields¶
Field Index¶
Bool !C : Bool |
Bool A : Bool |
Bool B : Bool |
Bool C : Bool |
Changed to false: [] : Trigger |
Changed to true: [] : Trigger |
Int. Value : Integer |
Operation : Enum |
Visible Fields¶
Bool !C¶
-
name:
negatedOutputBool
, type:
Bool
, persistent:
no
¶ Shows the inverse of the result of the Boolean operation.
Int. Value¶
-
name:
outputInt
, type:
Integer
, persistent:
no
¶ Shows the result of the Boolean operation as an integer.
0 means false and 1 means true.
Operation¶
-
name:
operation
, type:
Enum
, default:
Identity
¶ Defines the Boolean operation applied to
Bool A
(and optionallyBool B
).
Values:
Title | Name |
---|---|
Identity | Identity |
Negation | Negation |
And | And |
Or | Or |
Xor | Xor |
Equal | Equal |
Implication | Implication |