libDAIAfreeandopensourceClibraryfordiscreteapproximateinferenceingraphicalmodels