Tema 3 – Algoritmos de encaminamiento
Tema 3 – Algoritmos de encaminamiento
Tema 3 – Algoritmos de encaminamiento
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Re<strong>de</strong>s <strong>–</strong> <strong>Tema</strong> 3: <strong>Algoritmos</strong> <strong>de</strong> <strong>encaminamiento</strong>Ejemplo algoritmo <strong>de</strong> DijkstraInicializaciónQ = {S, 1, 2, 3, 4}d = [0, ∞, ∞, ∞, ∞]Primera iteraciónQ = {1, 2, 3, 4}d = [0, 10, 5, ∞, ∞]Ramón Agüero Calvo22