I seek a Matlab or easily-to-translate function that lists all monotonic binary functions. These are sometimes called Dedekind functions.
What is a binary function? Let $\mathbf{u} = [u_{1}, u_{2}, \cdots u_{N}]$ be a binary valued vector, in which $u_{k} = 0 \text{ or } 1$. A monotonic Boolean function requires $f\left( \mathbf{u} \right) \ge f\left( \mathbf{u^{\prime}} \right)$ if $u_{k} \ge u_{k}^{\prime}$ for each $k$ between $1$ and $N$. There are $2^{M}$ functions, where $M=2^{N}$. Much fewer are monotonic. In the case of $N=2$, there are $16$ different functions, but $6$ of these are monotonic. I pasted an image of the table. In this case, $r_{1}$, $r_{2}$, $r_{4}$, $r_{4}$, $r_{8}$, and $r_{16}$ are monotonic. The term sensor input indicates an input vector $\mathbf{u}=[u_{1}, u_{2}]$ and the term "Global fusion rules" labels the function output.
$\mathbf{u}=[u_{1}, u_{2}]$" />