Get the original index of an operation in this run. :param idx: The Run index that maps to the original index.
(self, idx: int)
| 52 | self.idx_offset: int = 0 |
| 53 | |
| 54 | def index(self, idx: int) -> int: |
| 55 | """Get the original index of an operation in this run. |
| 56 | |
| 57 | :param idx: The Run index that maps to the original index. |
| 58 | """ |
| 59 | return self.index_map[idx] |
| 60 | |
| 61 | def add(self, original_index: int, operation: Any) -> None: |
| 62 | """Add an operation to this Run instance. |
no outgoing calls