Some improvements to jtree and regiongraph and started work on regiongraph unit tests
[libdai.git] / tests / aliases.conf
index 3ee5681..75c4d80 100644 (file)
@@ -1,3 +1,16 @@
+# This file contains reasonable default settings for various inference
+# algorithms in libDAI. Each non-empty line should either be a comment
+# (starting with #) or contain an alias definition in the format
+#
+# alias:    name[key1=val1,key2=val2,...,keyn=valn]
+#
+# where name should be a valid libDAI algorithm name, and the list of
+# its properties (between rectangular brackets) consists of key=value
+# pairs, seperated by spaces. This defines 'alias' as a shortcut for
+# the rest of the line (more precisely, the contents to the right of 
+# the colon and possible whitespace).
+
+
 # --- EXACT -------------------
 
 EXACT:                          EXACT[verbose=0]
 # --- EXACT -------------------
 
 EXACT:                          EXACT[verbose=0]
@@ -26,6 +39,10 @@ MP_PARALL_LOG:                  BP[updates=PARALL,tol=1e-9,maxiter=10000,logdoma
 
 FBP:                            FBP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0]
 
 
 FBP:                            FBP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0]
 
+# --- TRWBP -------------------
+
+TRWBP:                          TRWBP[updates=SEQFIX,tol=1e-9,maxiter=10000,logdomain=0,nrtrees=0]
+
 # --- JTREE -------------------
 
 JTREE_HUGIN:                    JTREE[updates=HUGIN,verbose=0]
 # --- JTREE -------------------
 
 JTREE_HUGIN:                    JTREE[updates=HUGIN,verbose=0]
@@ -55,6 +72,7 @@ MR_EXACT_LINEAR:                MR[updates=LINEAR,inits=EXACT,verbose=0,tol=1e-9
 # --- HAK ---------------------
 
 GBP_MIN:                        HAK[doubleloop=0,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 # --- HAK ---------------------
 
 GBP_MIN:                        HAK[doubleloop=0,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
+GBP_BETHE:                      HAK[doubleloop=0,clusters=BETHE,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 GBP_DELTA:                      HAK[doubleloop=0,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 GBP_LOOP3:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
 GBP_LOOP4:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]
 GBP_DELTA:                      HAK[doubleloop=0,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 GBP_LOOP3:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
 GBP_LOOP4:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]
@@ -64,6 +82,7 @@ GBP_LOOP7:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loop
 GBP_LOOP8:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=8,tol=1e-9,maxiter=10000,verbose=0]
 
 HAK_MIN:                        HAK[doubleloop=1,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 GBP_LOOP8:                      HAK[doubleloop=0,clusters=LOOP,init=UNIFORM,loopdepth=8,tol=1e-9,maxiter=10000,verbose=0]
 
 HAK_MIN:                        HAK[doubleloop=1,clusters=MIN,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
+HAK_BETHE:                      HAK[doubleloop=1,clusters=BETHE,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 HAK_DELTA:                      HAK[doubleloop=1,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 HAK_LOOP3:                      HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
 HAK_LOOP4:                      HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]
 HAK_DELTA:                      HAK[doubleloop=1,clusters=DELTA,init=UNIFORM,tol=1e-9,maxiter=10000,verbose=0]
 HAK_LOOP3:                      HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=3,tol=1e-9,maxiter=10000,verbose=0]
 HAK_LOOP4:                      HAK[doubleloop=1,clusters=LOOP,init=UNIFORM,loopdepth=4,tol=1e-9,maxiter=10000,verbose=0]