add benchmark tests for lbp
This commit is contained in:
parent
eec4b1452b
commit
2cf6a2a33d
36
packages/CLPBN/benchmarks/city/lbp_tests.sh
Executable file
36
packages/CLPBN/benchmarks/city/lbp_tests.sh
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
source city.sh
|
||||
source ../benchs.sh
|
||||
|
||||
SOLVER="lbp"
|
||||
|
||||
function run_all_graphs
|
||||
{
|
||||
write_header $1
|
||||
run_solver city1000 $2
|
||||
run_solver city5000 $2
|
||||
run_solver city10000 $2
|
||||
run_solver city15000 $2
|
||||
run_solver city20000 $2
|
||||
run_solver city25000 $2
|
||||
run_solver city30000 $2
|
||||
run_solver city35000 $2
|
||||
run_solver city40000 $2
|
||||
run_solver city45000 $2
|
||||
run_solver city50000 $2
|
||||
run_solver city55000 $2
|
||||
run_solver city60000 $2
|
||||
run_solver city65000 $2
|
||||
run_solver city70000 $2
|
||||
run_solver city75000 $2
|
||||
run_solver city80000 $2
|
||||
run_solver city85000 $2
|
||||
run_solver city90000 $2
|
||||
run_solver city95000 $2
|
||||
run_solver city100000 $2
|
||||
}
|
||||
|
||||
prepare_new_run
|
||||
run_all_graphs "lbp(shedule=seq_fixed) " seq_fixed
|
||||
|
30
packages/CLPBN/benchmarks/comp_workshops/lbp_tests.sh
Executable file
30
packages/CLPBN/benchmarks/comp_workshops/lbp_tests.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
source cw.sh
|
||||
source ../benchs.sh
|
||||
|
||||
SOLVER="lbp"
|
||||
|
||||
function run_all_graphs
|
||||
{
|
||||
write_header $1
|
||||
run_solver p1000w$N_WORKSHOPS $2
|
||||
run_solver p5000w$N_WORKSHOPS $2
|
||||
run_solver p10000w$N_WORKSHOPS $2
|
||||
run_solver p15000w$N_WORKSHOPS $2
|
||||
run_solver p20000w$N_WORKSHOPS $2
|
||||
run_solver p25000w$N_WORKSHOPS $2
|
||||
run_solver p30000w$N_WORKSHOPS $2
|
||||
run_solver p35000w$N_WORKSHOPS $2
|
||||
run_solver p40000w$N_WORKSHOPS $2
|
||||
run_solver p45000w$N_WORKSHOPS $2
|
||||
run_solver p50000w$N_WORKSHOPS $2
|
||||
run_solver p55000w$N_WORKSHOPS $2
|
||||
run_solver p60000w$N_WORKSHOPS $2
|
||||
run_solver p65000w$N_WORKSHOPS $2
|
||||
run_solver p70000w$N_WORKSHOPS $2
|
||||
}
|
||||
|
||||
prepare_new_run
|
||||
run_all_graphs "lbp(shedule=seq_fixed) " seq_fixed
|
||||
|
30
packages/CLPBN/benchmarks/smokers/lbp_tests.sh
Executable file
30
packages/CLPBN/benchmarks/smokers/lbp_tests.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
source sm.sh
|
||||
source ../benchs.sh
|
||||
|
||||
SOLVER="lbp"
|
||||
|
||||
function run_all_graphs
|
||||
{
|
||||
write_header $1
|
||||
run_solver pop100 $2
|
||||
run_solver pop200 $2
|
||||
run_solver pop300 $2
|
||||
run_solver pop400 $2
|
||||
run_solver pop500 $2
|
||||
run_solver pop600 $2
|
||||
run_solver pop700 $2
|
||||
run_solver pop800 $2
|
||||
run_solver pop900 $2
|
||||
run_solver pop1000 $2
|
||||
run_solver pop1100 $2
|
||||
run_solver pop1200 $2
|
||||
run_solver pop1300 $2
|
||||
run_solver pop1400 $2
|
||||
run_solver pop1500 $2
|
||||
}
|
||||
|
||||
prepare_new_run
|
||||
run_all_graphs "lbp(shedule=seq_fixed) " seq_fixed
|
||||
|
36
packages/CLPBN/benchmarks/workshop_attrs/lbp_tests.sh
Executable file
36
packages/CLPBN/benchmarks/workshop_attrs/lbp_tests.sh
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
source wa.sh
|
||||
source ../benchs.sh
|
||||
|
||||
SOLVER="lbp"
|
||||
|
||||
function run_all_graphs
|
||||
{
|
||||
write_header $1
|
||||
run_solver p1000attrs$N_ATTRS $2
|
||||
run_solver p5000attrs$N_ATTRS $2
|
||||
run_solver p10000attrs$N_ATTRS $2
|
||||
run_solver p15000attrs$N_ATTRS $2
|
||||
run_solver p20000attrs$N_ATTRS $2
|
||||
run_solver p25000attrs$N_ATTRS $2
|
||||
run_solver p30000attrs$N_ATTRS $2
|
||||
run_solver p35000attrs$N_ATTRS $2
|
||||
run_solver p40000attrs$N_ATTRS $2
|
||||
run_solver p45000attrs$N_ATTRS $2
|
||||
run_solver p50000attrs$N_ATTRS $2
|
||||
run_solver p55000attrs$N_ATTRS $2
|
||||
run_solver p60000attrs$N_ATTRS $2
|
||||
run_solver p65000attrs$N_ATTRS $2
|
||||
run_solver p70000attrs$N_ATTRS $2
|
||||
run_solver p75000attrs$N_ATTRS $2
|
||||
run_solver p80000attrs$N_ATTRS $2
|
||||
run_solver p85000attrs$N_ATTRS $2
|
||||
run_solver p90000attrs$N_ATTRS $2
|
||||
run_solver p95000attrs$N_ATTRS $2
|
||||
run_solver p100000attrs$N_ATTRS $2
|
||||
}
|
||||
|
||||
prepare_new_run
|
||||
run_all_graphs "lbp(shedule=seq_fixed) " seq_fixed
|
||||
|
Reference in New Issue
Block a user