Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /Users/jordan/CLionProject/Dijkstras/cmake-build-debug/Dijkstras
- Beginning Dijkstra's algorithm at origin node: Seattle
- Visiting Node: Seattle
- Chicago's shortest known distance from the origin is now: 2097
- San Francisco's shortest known distance from the origin is now: 807
- Denver's shortest known distance from the origin is now: 1331
- next closest edge from origin is: San Francisco
- Visiting Node: San Francisco
- Los Angeles's shortest known distance from the origin is now: 1188
- next closest edge from origin is: Los Angeles
- Visiting Node: Los Angeles
- Dallas's shortest known distance from the origin is now: 2623
- Kansas City's shortest known distance from the origin is now: 2851
- next closest edge from origin is: Denver
- Visiting Node: Denver
- Kansas City's shortest known distance from the origin is now: 1930
- next closest edge from origin is: Kansas City
- Visiting Node: Kansas City
- New York's shortest known distance from the origin is now: 3190
- Atlanta's shortest known distance from the origin is now: 2794
- Dallas's shortest known distance from the origin is now: 2426
- next closest edge from origin is: Chicago
- Visiting Node: Chicago
- Boston's shortest known distance from the origin is now: 3080
- New York's shortest known distance from the origin is now: 2884
- next closest edge from origin is: Dallas
- Visiting Node: Dallas
- Houston's shortest known distance from the origin is now: 2665
- next closest edge from origin is: Houston
- Visiting Node: Houston
- Miami's shortest known distance from the origin is now: 3852
- next closest edge from origin is: Atlanta
- Visiting Node: Atlanta
- Miami's shortest known distance from the origin is now: 3455
- next closest edge from origin is: New York
- Visiting Node: New York
- next closest edge from origin is: Boston
- Visiting Node: Boston
- next closest edge from origin is: Miami
- Visiting Node: Miami
- next closest edge from origin is:
- Uh oh, we have already visited all of the adjacent neighbors of Miami, returning distances
- Distance from Seattle to Seattle is: 0
- Distance from Seattle to Chicago is: 2097
- Distance from Seattle to Boston is: 3080
- Distance from Seattle to New York is: 2884
- Distance from Seattle to Atlanta is: 2794
- Distance from Seattle to Miami is: 3455
- Distance from Seattle to Houston is: 2665
- Distance from Seattle to Dallas is: 2426
- Distance from Seattle to Los Angeles is: 1188
- Distance from Seattle to San Francisco is: 807
- Distance from Seattle to Denver is: 1331
- Distance from Seattle to Kansas City is: 1930
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement