[Tutor] "Path tree"

Cameron Simpson cs at cskk.id.au
Wed Aug 16 18:36:21 EDT 2017


On 16Aug2017 10:22, Alan Gauld <alan.gauld at yahoo.co.uk> wrote:
>On 16/08/17 02:02, Cameron Simpson wrote:
>> Ok. So you have a graph like this:
>
>>   1 -- 2 -- 3 -- 4
>>        |
>>   7 -- 5 -- 6 -- 8
>>
>>   graph = {
>>     1: [2],
>>     2: [1, 3],
>
>      2: [1, 3, 5],
>
>>     3: [2, 4],
>>     4: [3],
>>     5: [7, 6],
>
>      5: [2, 6, 7],
>
>>     6: [5, 8],
>>     7: [5],
>>     8: [6]
>>   }
>
>The missing link is pretty critical in this case :-)

Hmm, yes. Thanks!

Cheers,
Cameron Simpson <cs at cskk.id.au> (formerly cs at zip.com.au)


More information about the Tutor mailing list