Skip to content

OpenBIMRL | Mathematical operator functions

Class path: math.operators.gateXor

EXCLUSIVE OR gate

gateXor1.png

Description

The EXCLUSIVE OR gate node performs a Boolean conjunction in terms of the EXCLUSIVE OR gate.

Thereby the truth table of an EXCLUSIVE OR gate looks like this:

A B A \(\oplus\) B
false false false
false true true
true false true
true true false

Input

Input Name Type Description
0 A Boolean A
1 B Boolean B

Output

Output Name Type Description
0 AxorB Boolean A \(\oplus\) B

Use/Example

gateXor2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself