@SjoerdC.deVries I think MMA has internal functions to generate BDD, the evidence can be shown by
InputForm[BooleanFunction[30]]
, which gives BooleanFunction["BDD" -> {-3, 0, 2, -2, 1, 1, 3, 2, 1, -1}]
. The question is how to decode this list. — Silvia Nov 18 '15 at 3:51