list the neighbor node indexes of node at a certain time
(self, line)
| 146 | (int(rest[0]), int(rest[1]), node_distance)) |
| 147 | |
| 148 | def do_get_neighbors(self, line): |
| 149 | "list the neighbor node indexes of node at a certain time" |
| 150 | arg, args, line = self.parseline(line) |
| 151 | rest = line.split(' ') |
| 152 | neighbors_index = self.sn.get_neighbors(int(rest[0]), int(rest[1])) |
| 153 | output("The neighbors are: " + str(neighbors_index) + ".\n") |
| 154 | |
| 155 | def do_get_GSes(self, line): |
| 156 | "list the GS connected to the node at a certain time" |
nothing calls this directly
no test coverage detected