Perform the routing table of a topology in respect with the Flood algorithm.
[rt]=RoutingTableFlood(g,TTL)
network graph.
Flood Time-To-Live.
routing table.
RoutingTableFlood computes the shortest paths between all couples of distinct network nodes of the graph g in respect with the Flood algorithm.
They are stored in the routing table matrix rt. Thus the route between the nodes i and j can be read at the line of index (i-1)*n+j where n represents the network size. The first column of rt provides each path length.