A generalized Blahut-Arimoto algorithm
Factor Graphs and the Sum Product Algorithm