Why have this same function in library

i post image here : Imgur: The magic of the Internet . Why have same “Get Path Cost”?

This is probably the same function only with different targets.

These are two different functions. One uses a navigation path input, while the other has a lot more options.