DD-MRF C++ implemetation of the DD-MRF algorithm. Dual decomposition using subgradient. Please see test_submodular.cpp for an example usage. Thanks to Huayan Wang for the fast cycle solver used here.