#include <map>
#include <opengm/graphicalmodel/space/simplediscretespace.hxx>
#include <opengm/functions/sparsemarray.hxx>
opengm::ExplicitFunction<double>,
opengm::PottsFunction<double, size_t, size_t>,
opengm::SparseMarray<double>
>::type FunctionTypeList;
typedef opengm::GraphicalModel<double,Adder,FunctionTypeList, DiscreteSpace<>> GM;