Code covered by the BSD License
04 Jan 2013
It is an implementation of hierarchical (a.k.a. multi-scale) Kalman filter using belief propagation.
function zID = getCurrentZID(bp_iter, globalConnection_id)
zID = find(bp_iter > max(globalConnection_id, , 2));
zID = 0;
zID = max(zID);