Returns the lower bound of the first interval in the tree. Completes in O(1) time.
(self)
| 939 | return result |
| 940 | |
| 941 | def begin(self): |
| 942 | """ |
| 943 | Returns the lower bound of the first interval in the tree. |
| 944 | |
| 945 | Completes in O(1) time. |
| 946 | """ |
| 947 | if not self.boundary_table: |
| 948 | return 0 |
| 949 | return self.boundary_table.keys()[0] |
| 950 | |
| 951 | def end(self): |
| 952 | """ |
no outgoing calls