(self, operation: 'Node', st='spatial')
| 79 | operation.temporal_successors.append(self) |
| 80 | |
| 81 | def add_successor(self, operation: 'Node', st='spatial'): |
| 82 | if st =='spatial' and operation not in self.spatial_successors: |
| 83 | self.spatial_successors.append(operation) |
| 84 | operation.spatial_predecessors.append(self) |
| 85 | elif st == 'temporal' and operation not in self.temporal_successors: |
| 86 | self.temporal_successors.append(operation) |
| 87 | operation.temporal_predecessors.append(self) |
| 88 | |
| 89 | def remove_predecessor(self, operation: 'Node', st='spatial'): |
| 90 | if st =='spatial' and operation in self.spatial_predecessors: |
no outgoing calls
no test coverage detected