10.07.2015 Views

Les algorithmes voraces - UQAC

Les algorithmes voraces - UQAC

Les algorithmes voraces - UQAC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RemarquesL’algorithme de Dijkstra est le cas particulier où h(n) = 0 pour tous n ∈ N.Dans l’algorithme de Dijkstra, tous les noeuds w ∈ S sont tels que D[w]est minimal. On ne peut donc jamais diminuer D[w] et l’instruction“enlever w de S” est inutile.Problème: Modifiez l’algorithme A ∗ pour qu’il retourne le plus courtchemin plutôt que sa longueur.() February 12, 2013 18 / 48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!