1. farsa
  2. PathPlanners

Overview

PathPlanners
==============

PathPlanners
|-PathPlannersLib:
|-|- AStar- Implements A* as described in its Wikipedia article[1].
|-|- BestFirstSearch - Defines an abstract class of algorithms that use priority queues[2].
|-|- BreadthFirstSearch - Implements breadth-first search (BFS)[3].
|-|- DepthFirstSearch - Implements depth-first search (DFS)[4].
|-|- Dijkstra - Implements Dijkstra's algorithm[5] simply as A* with heuristic function always returning 0.
|-|- JPS - Implements Jump Point Search[6] to speed up AStar. Based on PathFinding.js[7].
|-|- JPSBB - Variation of JPS that can diagonally move between blocks.
|-|- JPSSW - Variation of JPS with stricter walking, with the goal of not cutting edges. Based to certain extent on [8].
|-|- MapReader - Provides methods for reading maps and scenarios from Moving AI Lab's benchmarks[9].
|-|- Functions - Provides default manhattan and euclidian distance functions used if other functions aren't supplied by the user when using the path planners.
|-|- PriorityQueue - Minimal implementation of a priority queue. Based on Paw Baltzersen's implementation[10]. 
|-PathPlannersTests - A set of unit tests. Requires downloading scenes and maps from [9] and editing the tests' source code to point to the correct directory paths.
|-PathPlannersApplication - Small toy application to test some features. Not exception safe at all :)


[1]  http://en.wikipedia.org/wiki/A_star
[2]  http://en.wikipedia.org/wiki/Best-first_search
[3]  http://en.wikipedia.org/wiki/Breadth-first_search
[4]  http://en.wikipedia.org/wiki/Depth-first_search
[5]  http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
[6]  http://grastien.net/ban/articles/hg-aaai11.pdf
[7]  https://github.com/qiao/PathFinding.js/blob/master/src/finders/JumpPointFinder.js
[8]  http://www.aaai.org/ocs/index.php/SOCS/SOCS12/paper/viewFile/5396/5212
[9]  http://www.movingai.com/benchmarks/
[10] http://stackoverflow.com/a/4019199

License
-------

MIT License (http://www.opensource.org/licenses/mit-license.php)

Copyright (c) 2013 Farsa <farsafarsa@live.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.