(self, sat_index, time_index)
| 160 | return neighbors |
| 161 | |
| 162 | def get_GSes(self, sat_index, time_index): |
| 163 | GSes = [] |
| 164 | delaypath = self.configuration_file_path + "/" + self.file_path + '/delay/' + str( |
| 165 | time_index) + '.txt' |
| 166 | adjacency_matrix = sn_get_param(delaypath) |
| 167 | sats = self.orbit_number * self.sat_number |
| 168 | for i in range(sats, len(adjacency_matrix)): |
| 169 | if (float(adjacency_matrix[i][sat_index - 1]) > 0.01): |
| 170 | GSes.append(i + 1) |
| 171 | return GSes |
| 172 | |
| 173 | def get_utility(self, time_index): |
| 174 | self.utility_checking_time.append(time_index) |
no test coverage detected