removed save_UAI method from CFactorGraph