-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
49 lines (39 loc) · 1.26 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import data_handling.json_handler as jh
import implementation.experiment as ex
import implementation.plotter as pl
import data_handling.ctr_handler as ch
def main():
#ch.transform_ctr_seq_time_100k()
#ex.run_show_server_occ()
#ex.run_single_experiment()
#ch.save_ctr_seq_time_100k()
#ex.run_bounded_server_occ()
#pl.plot_occ()
#pl.plot_infin_cap_mtf()
#pl.plot_occ_inf_cap()
#ex.run_paper_experiment_1_unbound()
#ex.run_paper_experiment_1()
#pl.sum_results_all_ps()
#pl.plot_3d_all_ps_fixed_server_n()
#pl.line_plot_freq()
#pl.plot_occ(cap="4")
#ex.run_experiment_temp()
#ex.run_experiment_ctr()
#jh.generate_serv_ins_del_temp()
#jh.generate_serv_ins_del_ctr()
#jh.get_serv_ins_del_temp()
#ex.run_show_server_access_ctr()
# Fig.8
#pl.plot_2d_all_ps_fixed_sever_n()
pl.plot_2d_all_ps_fixed_sever_n_more_sim()
# Fig. 3
#ex.run_show_server_access_ctr()
#pl.plot_server_acc(limit=1000) # plot only. Maintains data, limit got to be same as experiment run
# Fig. 2+7
#ex.run_server_occ(infin=True) # AND mult=True OR no parameter
#pl.plotting_occ_all()
# Fig. 9
#pl.line_plot_n_servers()
#pl.line_plot_stale()
if __name__ == '__main__':
main()