出典:Wikipedia
出典:『Wikipedia』 (2011/03/28 10:34 UTC 版)
In Boolean logic, the majority function (also called the median operator) is a function from n inputs to one output. The value of the operation is false when n/2 or more arguments are false, and true otherwise. Alternatively, representing true values as 1 and false values as 0, we may use the formula