Skip to content

Commit f50088f

Browse files
committed
Refactor
1 parent 0405f27 commit f50088f

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

run_full_benchmark.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -950,98 +950,98 @@ def benchmark_approx_comparison(
950950
directory_path="Benchmark graphs/random graphs density",
951951
methods_list=EXACT_METHODS,
952952
timeout_seconds=TIMEOUT_MAX,
953-
output_filename="ben_random_density.txt",
953+
output_filename="Benchmark results/final_ben_random_density.txt",
954954
)
955955

956956
benchmark_exact_exec_time(
957957
directory_path="Benchmark graphs/density",
958958
methods_list=EXACT_METHODS,
959959
timeout_seconds=TIMEOUT_MAX,
960-
output_filename="ben_density.txt",
960+
output_filename="Benchmark results/final_ben_density.txt",
961961
)
962962

963963
benchmark_exact_exec_time(
964964
directory_path="Benchmark graphs/chromatic number",
965965
methods_list=EXACT_METHODS,
966966
timeout_seconds=TIMEOUT_MAX,
967-
output_filename="ben_chromatic_number.txt",
967+
output_filename="Benchmark results/final_ben_chromatic_number.txt",
968968
)
969969

970970
benchmark_exact_exec_time(
971971
directory_path="Benchmark graphs/diameter",
972972
methods_list=EXACT_METHODS,
973973
timeout_seconds=TIMEOUT_MAX,
974-
output_filename="ben_diameter.txt",
974+
output_filename="Benchmark results/final_ben_diameter.txt",
975975
)
976976

977977
benchmark_exact_exec_time(
978978
directory_path="Benchmark graphs/domination number",
979979
methods_list=EXACT_METHODS,
980980
timeout_seconds=TIMEOUT_MAX,
981-
output_filename="ben_domination_number.txt",
981+
output_filename="Benchmark results/final_ben_domination_number.txt",
982982
)
983983

984984
benchmark_exact_exec_time(
985985
directory_path="Benchmark graphs/girth",
986986
methods_list=EXACT_METHODS,
987987
timeout_seconds=TIMEOUT_MAX,
988-
output_filename="ben_girth.txt",
988+
output_filename="Benchmark results/final_ben_girth.txt",
989989
)
990990

991991
benchmark_exact_exec_time(
992992
directory_path="Benchmark graphs/longest induced cycle",
993993
methods_list=EXACT_METHODS,
994994
timeout_seconds=TIMEOUT_MAX,
995-
output_filename="ben_long_ind_cyc.txt",
995+
output_filename="Benchmark results/final_ben_long_ind_cyc.txt",
996996
)
997997

998998
benchmark_exact_exec_time(
999999
directory_path="Benchmark graphs/radius",
10001000
methods_list=EXACT_METHODS,
10011001
timeout_seconds=TIMEOUT_MAX,
1002-
output_filename="ben_radius.txt",
1002+
output_filename="Benchmark results/final_ben_radius.txt",
10031003
)
10041004

10051005
benchmark_exact_exec_time(
10061006
directory_path="Benchmark graphs/treewidth",
10071007
methods_list=EXACT_METHODS,
10081008
timeout_seconds=TIMEOUT_MAX,
1009-
output_filename="ben_treewidth.txt",
1009+
output_filename="Benchmark results/final_ben_treewidth.txt",
10101010
)
10111011

10121012
benchmark_exact_exec_time(
10131013
directory_path="Benchmark graphs/vertex connectivity",
10141014
methods_list=EXACT_METHODS,
10151015
timeout_seconds=TIMEOUT_MAX,
1016-
output_filename="ben_vert_conn.txt",
1016+
output_filename="Benchmark results/final_ben_vert_conn.txt",
10171017
)
10181018

10191019
benchmark_approximation_quality(
10201020
directory_path="Benchmark graphs/random graphs density",
10211021
approx_methods_list=APPROX_METHODS,
10221022
exact_method_func=get_decycling_number_xiao,
10231023
timeout_seconds=TIMEOUT_MAX,
1024-
output_filename="ben_approx_random_density.txt",
1024+
output_filename="Benchmark results/final_ben_approx_random_density.txt",
10251025
)
10261026

10271027
benchmark_approximation_quality(
10281028
directory_path="Benchmark graphs/density",
10291029
approx_methods_list=APPROX_METHODS,
10301030
exact_method_func=get_decycling_number_xiao,
10311031
timeout_seconds=TIMEOUT_MAX,
1032-
output_filename="ben_approx_density.txt",
1032+
output_filename="Benchmark results/final_ben_approx_density.txt",
10331033
)
10341034

10351035
benchmark_approximation_quality_with_dn(
10361036
directory_path="Benchmark graphs/more vertices with dn",
10371037
approx_methods_list=APPROX_METHODS,
10381038
timeout_seconds=TIMEOUT_MAX,
1039-
output_filename="ben_approx_more_v_dn.txt",
1039+
output_filename="Benchmark results/final_ben_approx_more_v_dn.txt",
10401040
)
10411041

10421042
benchmark_approx_comparison(
10431043
directory_path="Benchmark graphs/random big",
10441044
methods_list=APPROX_METHODS,
10451045
timeout_seconds=TIMEOUT_MAX,
1046-
output_filename="ben_approx_random_big.txt",
1046+
output_filename="Benchmark results/final_ben_approx_random_big.txt",
10471047
)

0 commit comments

Comments
 (0)