Thornton-Middle-School / TMS-Pathfinding

Findig the shortest paths between anywhere in Thornton Middle School (Fremont, CA, USA).
2 stars 1 forks source link

TMS-Pathfinding

Find the shortest path between any two rooms in Thornton Middle School (Fremont, CA, USA). The school map was created by using Google Earth, and the path is found using the A* Pathfinding Algorithm.

Dependencies

Instructions

Downloading the app

  1. Go to the releases page on the right
  2. Scroll down to the bottom
  3. Download the corresponding file for your OS (the .exe is for Windows, the Linux.tar.gz is for Linux)

Using the app

  1. Using the map shown, enter in your starting and ending room

    • The inputs must be the exact same as the name on the map. For example, if you start in room 1, you can not input "One" or "Room 1" (you have to type "1").
    • You must select each box, or click away.
    • Only an arbitrary number of characters will be output. If when you type a letter it will go outside the box, it will not be stored/output. You have to either proceed to step 2, click a different text box, or press backspace.
  2. Click the Submit button or press "Enter"/"Return" on your keyboard.

    • Invalid Input will be displayed if the input criteria aren't met (the corresponding text boxes will be in red). If this is the case, go back to step 1.
  3. After at most a couple seconds, the shortest path will be shown in orange and a green and red dot for the starting and ending positions respectively. The distance and predicted walking time (assumes you walk at 4 ft/second) are displayed on the right. Otheriwse, "Invalid Input" is displayed on the right in red, and so are the invalid inputs.

    • If you type "BB" or "GB" (boys'/girls' bathroom) and then a number from 2-3 (or nothing to represent 1; there are three bathrooms for each gender) as the ending position, then the shortest path among that of all three bathrooms will be displayed.
  4. If you want to enter in more rooms, press "Reset".

Click this hyperlink to watch a quick video on how to download & use this app.

Example Input & Path

image

Credits