Graphs, Dioids And Semirings by Michel Gondran & Michel Minoux