Forgot your password?
typodupeerror

Comment Re:Dijkstra (Score 1) 125

That's not the traveling salesman problem at all, it's just shortest path and is not intractable like the TSP. The Dijkstra Algorithm will give you the perfect solution and as far as I know is the fastest as well. That is actually what google does every time you ask for driving directions - it treats intersections as graph nodes and streets as graph edges, weighs edges based on length and average speed limit, and solves for the shortest weighted path.

Traveling salesman seems like a trivial modification of this problem, but it doesn't have any "tricks" to it like the Dijkstra algorithm. You have to generate all possible routes (brute force) and sort them, which eventually turns into a LOT of work, kind of like guessing a secure password.

Students Put UCLA Taser Video On YouTube 1583

dircha writes "As widely reported, an incident in which Iranian-American student Mostafa Tabatabainejad was tasered up to five times by UCLA police on Friday, has been captured by a fellow student using a video enabled cell phone and published to YouTube. From the Daily Bruin: 'At around 11:30 p.m. Tuesday, Tabatabainejad, a fourth-year Middle Eastern and North African studies and philosophy student, was asked to leave the library for failing to present his BruinCard during a random check. The 23-year-old student was hit with a Taser five times when he did not leave quickly and cooperatively upon being asked to do so.' In a story which has raised concerns of racial profiling, police brutality and the health risks of taser use, the ubiquity of video cell phone technology has given us a first hand record of an incident which might otherwise have been a he-said, she-said affair. While the publishing of the video to YouTube has given the issue compelling popular exposure beyond the immediate campus community."

Slashdot Top Deals

"The geeks shall inherit the earth." -- Karl Lehenbauer

Working...