Source: https://lewebpedagogique.com/valiblog2/files/2019/03/TD_TES_Graphes_Dijkstra.pdf