| 238 | |
| 239 | |
| 240 | def sn_establish_ISLs(container_id_list, matrix, orbit_num, sat_num, |
| 241 | constellation_size, bw, loss): |
| 242 | ISL_threads = [] |
| 243 | for current_orbit_id in range(0, orbit_num): |
| 244 | for current_sat_id in range(0, sat_num): |
| 245 | ISL_thread = threading.Thread( |
| 246 | target=sn_ISL_establish, |
| 247 | args=(current_sat_id, current_orbit_id, container_id_list, |
| 248 | orbit_num, sat_num, constellation_size, matrix, bw, |
| 249 | loss)) |
| 250 | ISL_threads.append(ISL_thread) |
| 251 | for ISL_thread in ISL_threads: |
| 252 | ISL_thread.start() |
| 253 | for ISL_thread in ISL_threads: |
| 254 | ISL_thread.join() |
| 255 | |
| 256 | |
| 257 | def sn_get_param(file_): |