What is the difference between a pseudo-Boolean function and a Boolean function?
Wikipedia states that a Boolean function is a special case of a pseudo-Boolean function, but I do not understand in what way. It seems like both are of the form $$ f \colon \{0,1\}^n \to \mathbb{R} $$ However, this does not really help me in distinguishing the two...
For a Boolean function, the range is a subset of $\{0,1\}$.
For a pseudo-Boolean function, the range is a subset of $\mathbb{R}$, but not necessarily a subset of $\{0,1\}$.
For example . . .