Purchase Solution

shortest path

Not what you're looking for?

Ask Custom Question

Please see attached for details. You can use either A* or Floyd-Warshall algorithm to accomplish this. One way that I think might work is to divide the path into 3 sections. Finding the shortest path from node 16 to 3 then from 3 to 11 and then from 11 to 16. We also need to find the shortest path from 16 to 11 then from 11 to 3 and from 3 to 16. And then compare the two results.

In terms of programming language you can use any language that you are comfortable with.

Purchase this Solution

Solution Summary

Please see attached for details. You can use either A* or Floyd-Warshall algorithm to accomplish this. One way that I think might work is to divide the path into 3 sections. Finding the shortest path from node 16 to 3 then from 3 to 11 and then from 11 to 16. We also need to find the shortest path from 16 to 11 then from 11 to 3 and from 3 to 16. And then compare the two results.

Solution provided by:
Education
  • BCom, SGTB Khalsa College, University of Delhi
  • MBA, Rochester Institute of Technology
Recent Feedback
  • "Thank you. "
  • "Thank you"
  • "Thank you. I got 20/20 last week for my discussion you help me out with."
  • "Thank you. Great Job. "
  • "Thank you. Great Job. "
Purchase this Solution


Free BrainMass Quizzes
Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Probability Quiz

Some questions on probability

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.