when using the floyd warshall algorithm does using the inverse on an edge going in the opposite direction serve a purpose or it that something that's implementation specific and has nothing to do with the method itself. ?
for example lets say A->B->C where A->B =3 and B->C = 2 and you need to determine A->C and you use the inverse here A<-B = 1/3 and B<-C = 1/2