Route calculation

OSPF computes routes in an area as follows: