1.7.27

Operators

Gate Majority

Calculates the majority vote among three booleans

ID

math-operators-gate-majority

Name

Gate Majority

Group

Operators

Package

Math

Keywords

majority
gate

Operators

Trigonometric

Tools

Constants

Creation method

There are two options for creating a Gate Majority node.

  • The first way to create a Gate Majority node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • majority, gate
  • The second way is to select a Gate Majority node from the menu that opens from the top left.
    • Menu > Math > Gate Majority

Steps

  • Create a Gate Majority node.
  • Connect to the ports for inputs A, B, and C.
  • The output will provide the majority value of the inputs (returns true if at least two of the inputs are true).

See also

Gate And/Or
Gate Xor/Xnor
Gate Not

Inputs

NameTypeDescriptionDefault Value
a
Boolean
First boolean input
b
Boolean
Second boolean input
c
Boolean
Third boolean input

Outputs

NameTypeDescription
result
Boolean
Resulting value indicating the majority vote