How does the "Shortest Path Filter" function work?

Please refer to this post