Hi there!
I wonder if anybody knows a formula that will calculate the distance between origin and multiple destinations. For example:
Origin: A //is only one origin.
Destinations: B, C, D, E. /I have got 20 destinations.
A -> B, A -> C, A -> E. //that's the distance between origin and each destination. I have it in m/km.
What I want to do is next:
A ->B, B ->C, C -> D, D ->E. //Basically calculate the distance between one place and another.
Also, how would I represent that in a graph like this:
I don't know how to calculate the value and insert it in the empty slots.
I need this for a project that I have at the uni. Thank you!
I wonder if anybody knows a formula that will calculate the distance between origin and multiple destinations. For example:
Origin: A //is only one origin.
Destinations: B, C, D, E. /I have got 20 destinations.
A -> B, A -> C, A -> E. //that's the distance between origin and each destination. I have it in m/km.
What I want to do is next:
A ->B, B ->C, C -> D, D ->E. //Basically calculate the distance between one place and another.
Also, how would I represent that in a graph like this:
A = origin | B = d#1 | C = d#2 | D = d#3 |
B = d#1 | 0 | ||
C = d#2 | 0 | ||
D = d#3 | 0 |
I don't know how to calculate the value and insert it in the empty slots.
I need this for a project that I have at the uni. Thank you!