documentation for path ranking