Re: Finding overlapping times...

2007-12-14 Thread Neil Cerutti
On 2007-12-14, John Machin <[EMAIL PROTECTED]> wrote: > On Dec 14, 10:45 am, Breal <[EMAIL PROTECTED]> wrote: >> I have a list that looks like the following >> [(10, 100010), (15, 17), (19, 100015)] >> >> I would like to be able to determine which of these overlap each >> other. So

Re: Finding overlapping times...

2007-12-14 Thread Scott David Daniels
Breal wrote: > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > I would like to be able to determine which of these overlap each > other In relation to a similar (but not identical) problem, that of finding nested scopes and the associated

Re: Finding overlapping times...

2007-12-13 Thread Terry Jones
Hi Breal > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > > I would like to be able to determine which of these overlap each > other. So, in this case, tuple 1 overlaps with tuples 2 and 3. Tuple > 2 overlaps with 1. Tuple 3 overlaps with

Re: Finding overlapping times...

2007-12-13 Thread John Machin
On Dec 14, 12:05 pm, Dave Hansen <[EMAIL PROTECTED]> wrote: > On Dec 13, 5:45 pm, Breal <[EMAIL PROTECTED]> wrote: > > > I have a list that looks like the following > > [(10, 100010), (15, 17), (19, 100015)] > > > I would like to be able to determine which of these overlap each > >

Re: Finding overlapping times...

2007-12-13 Thread Dave Hansen
On Dec 13, 5:45 pm, Breal <[EMAIL PROTECTED]> wrote: > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > > I would like to be able to determine which of these overlap each > other. So, in this case, tuple 1 overlaps with tuples 2 and 3. Tuple >

Re: Finding overlapping times...

2007-12-13 Thread John Machin
On Dec 14, 10:45 am, Breal <[EMAIL PROTECTED]> wrote: > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > > I would like to be able to determine which of these overlap each > other. So, in this case, tuple 1 overlaps with tuples 2 and 3. Your d

Re: Finding overlapping times...

2007-12-13 Thread Jonathan Gardner
On Dec 13, 3:45 pm, Breal <[EMAIL PROTECTED]> wrote: > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > > I would like to be able to determine which of these overlap each > other. So, in this case, tuple 1 overlaps with tuples 2 and 3. Tuple >

Re: Finding overlapping times...

2007-12-13 Thread Shane Geiger
You should give a more real data set (maybe 20 various pairs so that all scenarios can be seen) and the output you want. Breal wrote: > I have a list that looks like the following > [(10, 100010), (15, 17), (19, 100015)] > > I would like to be able to determine which of these ove

Finding overlapping times...

2007-12-13 Thread Breal
I have a list that looks like the following [(10, 100010), (15, 17), (19, 100015)] I would like to be able to determine which of these overlap each other. So, in this case, tuple 1 overlaps with tuples 2 and 3. Tuple 2 overlaps with 1. Tuple 3 overlaps with tuple 1. In my scena