Boolean XOR

XOR.xml

Design

It is possible to create boolean logic functionality with KEEL. While this may the most efficient way to implement logical functions, there may be times when this functioanlity is necessary within a KEEL engine.

In this case an input with a 0 value is considered OFF, while an input with a value AND amount above 0 is considered ON.

XOR Logic
Input 1 Input 2 XOR
Ouptut
0 0 0
>0 0 100
0 >0 100
>0 >0 0

Logical XOR