Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/cse101/pa4% FindPath in3 out
- ~/cse101/pa4% diff out out3
- 201,202c201,202
- < The distance from 82 to 76 is 6
- < A shortest 82-76 path is: 82 1 31 50 16 80 76
- ---
- > The distance from 82 to 76 is 5
- > A shortest 82-76 path is: 82 100 65 72 67 76
- 401d400
- <
- ~/cse101/pa4% FindPath in4 out
- ~/cse101/pa4% diff out out4
- 29,31c29,30
- < The distance from 12 to 15 is 0
- < A shortest 12-15 path is: 0
- <
- ---
- > The distance from 12 to 15 is 3
- > A shortest 12-15 path is: 12 4 11 15
- \ No newline at end of file
- ~/cse101/pa4% FindPath in5 out
- ~/cse101/pa4% diff out out5
- 115,116c115,116
- < The distance from 15 to 20 is 0
- < A shortest 15-20 path is: 0
- ---
- > The distance from 15 to 20 is 2
- > A shortest 15-20 path is: 15 18 20
- 151,152c151,152
- < The distance from 12 to 20 is 0
- < A shortest 12-20 path is: 0
- ---
- > The distance from 12 to 20 is 3
- > A shortest 12-20 path is: 12 9 3 20
- 229,230c229,230
- < The distance from 18 to 20 is 0
- < A shortest 18-20 path is: 0
- ---
- > The distance from 18 to 20 is 1
- > A shortest 18-20 path is: 18 20
- 292,293c292,293
- < The distance from 7 to 20 is 0
- < A shortest 7-20 path is: 0
- ---
- > The distance from 7 to 20 is 3
- > A shortest 7-20 path is: 7 5 3 20
- 320,321c320
- < A shortest 6-10 path is: 6 2 10
- <
- ---
- > A shortest 6-10 path is: 6 2 10
- \ No newline at end of file
- ~/cse101/pa4% FindPath in6 out
- ~/cse101/pa4% diff out out6
- 294,295c294,295
- < The distance from 38 to 100 is 3
- < A shortest 38-100 path is: 38 9 7 100
- ---
- > The distance from 38 to 100 is 2
- > A shortest 38-100 path is: 38 9 100
- 401d400
- <
- ~/cse101/pa4%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement