shortest path first algorithm
Patrz:
SPF
.