In the example you gave, yes, original buses indexed 1, 4 and 5 (which also have external bus numbers 1, 4 and 5, respectively) have indexes 1, 2, 3 in the extracted island case. I have no idea whether that confirms the correctness of your mapping code though.
Ray > On Mar 2, 2015, at 12:49 PM, Manish Thapa <[email protected]> wrote: > > But do you think my mapping is correct? I wrote a very long code based on > this map (original indexing to new indexing), and would still like to use it. > Do you think the mapping I presented above is correct? > > Thank you Ray. > > Manish >
