the factor graph approach to model - based signal processing .
a family of algorithms for approximate bayesian inference .