(self, sat_index, time_index)
| 149 | return dis |
| 150 | |
| 151 | def get_neighbors(self, sat_index, time_index): |
| 152 | neighbors = [] |
| 153 | delaypath = self.configuration_file_path + "/" + self.file_path + '/delay/' + str( |
| 154 | time_index) + '.txt' |
| 155 | adjacency_matrix = sn_get_param(delaypath) |
| 156 | sats = self.orbit_number * self.sat_number |
| 157 | for i in range(sats): |
| 158 | if (float(adjacency_matrix[i][sat_index - 1]) > 0.01): |
| 159 | neighbors.append(i + 1) |
| 160 | return neighbors |
| 161 | |
| 162 | def get_GSes(self, sat_index, time_index): |
| 163 | GSes = [] |
no test coverage detected