- All hops are the same value/distance.
- Heirarchy
- Regions are collections of Sections
- Sections are collection of Nodes
- Nodes connect to one or more Nodes
- My table looks like this: fromRegionID, fromSectionID, fromNodeID, toNodeID, toSectionID, toRegionID
Shortest Number Of Hops Algorithm
I'm trying to calculate the shortest number of hops given the following:
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Zoran HorvatRank #792 · 2.9K reputationPosted Nov 20, 2010, 1:08 PM EST
How many distinct (regionId, sectionId, nodeId) values do you have?