Optimized Belief Propagation (CPU and GPU)
Class Hierarchy