Pseudo-Boolean Functions and Their Graphs