File list (Check if you may need any files):
UGM
...\KPM
...\...\max_mult.c
...\...\mexutil.c
...\...\mexutil.h
...\...\mysetdiff.m
...\...\repmatC.c
...\...\repmatC.mexa64
...\...\repmatC.mexglx
...\...\repmatC.mexmac
...\...\repmatC.mexmaci
...\...\repmatC.mexw32
...\...\setdiag.m
...\...\suptitle.m
...\mex
...\...\max_mult.mexglx
...\...\max_mult.mexmac
...\...\max_mult.mexw32
...\...\repmatC.mexglx
...\...\repmatC.mexmac
...\...\repmatC.mexw32
...\...\UGM_Decode_ExactC.mexglx
...\...\UGM_Decode_ExactC.mexmac
...\...\UGM_Decode_ExactC.mexw32
...\...\UGM_Decode_ICMC.mexglx
...\...\UGM_Decode_ICMC.mexmac
...\...\UGM_Decode_ICMC.mexw32
...\...\UGM_Infer_ChainC.mexglx
...\...\UGM_Infer_ChainC.mexmac
...\...\UGM_Infer_ChainC.mexw32
...\...\UGM_Infer_ExactC.mexglx
...\...\UGM_Infer_ExactC.mexmac
...\...\UGM_Infer_ExactC.mexw32
...\...\UGM_Infer_LBPC.mexglx
...\...\UGM_Infer_LBPC.mexmac
...\...\UGM_Infer_LBPC.mexw32
...\...\UGM_Infer_MFC.mexglx
...\...\UGM_Infer_MFC.mexmac
...\...\UGM_Infer_MFC.mexw32
...\...\UGM_Loss_subC.mexglx
...\...\UGM_Loss_subC.mexmac
...\...\UGM_Loss_subC.mexw32
...\...\UGM_makeEdgePotentialsC.mexglx
...\...\UGM_makeEdgePotentialsC.mexmac
...\...\UGM_makeEdgePotentialsC.mexw32
...\...\UGM_makeNodePotentialsC.mexglx
...\...\UGM_makeNodePotentialsC.mexmac
...\...\UGM_makeNodePotentialsC.mexw32
...\...\UGM_MRFLoss_subC.mexglx
...\...\UGM_MRFLoss_subC.mexmac
...\...\UGM_MRFLoss_subC.mexw32
...\...\UGM_PseudoLossC.mexglx
...\...\UGM_PseudoLossC.mexmac
...\...\UGM_PseudoLossC.mexw32
...\...\UGM_Sample_GibbsC.mexglx
...\...\UGM_Sample_GibbsC.mexmac
...\...\UGM_Sample_GibbsC.mexw32
...\...\UGM_updateGradientC.mexglx
...\...\UGM_updateGradientC.mexmac
...\...\UGM_updateGradientC.mexw32
...\mexAll.m
...\misc
...\....\minSpan.m
...\....\myProcessOptions.m
...\....\penalizedL2.m
...\....\sampleDiscrete.m
...\....\X.mat
...\UGM
...\...\decode
...\...\......\UGM_Decode_AlphaBetaSwap.m
...\...\......\UGM_Decode_Block_ICM.m
...\...\......\UGM_Decode_Chain.m
...\...\......\UGM_Decode_Conditional.m
...\...\......\UGM_Decode_Cutset.m
...\...\......\UGM_Decode_Exact.m
...\...\......\UGM_Decode_GraphCut.m
...\...\......\UGM_Decode_Greedy.m
...\...\......\UGM_Decode_ICM.m
...\...\......\UGM_Decode_ICMrestart.m
...\...\......\UGM_Decode_IntProg.m
...\...\......\UGM_Decode_LBP.m
...\...\......\UGM_Decode_LinProg.m
...\...\......\UGM_Decode_MaxOfMarginals.m
...\...\......\UGM_Decode_Sample.m
...\...\......\UGM_Decode_TRBP.m
...\...\......\UGM_Decode_Tree.m
...\...\examples
...\...\........\example_UGM_AlphaBeta.m
...\...\........\example_UGM_Block.m
...\...\........\example_UGM_Chain.m
...\...\........\example_UGM_Condition.m
...\...\........\example_UGM_Cutset.m
...\...\........\example_UGM_GraphCuts.m
...\...\........\example_UGM_ICM.m
...\...\........\example_UGM_Linprog.m
...\...\........\example_UGM_MCMC.m
...\...\........\example_UGM_Small.m
...\...\........\example_UGM_TrainApprox.m
...\...\........\example_UGM_TrainCRF.m
...\...\........\example_UGM_TrainMRF.m