Navigation Menu

Skip to content

Commit

Permalink
removed notes that were moved to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemcdonald committed Apr 27, 2012
1 parent fab0b01 commit 4225ad3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/ofxPathfinder.cpp
@@ -1,17 +1,5 @@
#include "ofxPathfinder.h"

// this implementation is optimized for a single map with multiple pathfinding
// lookups, with some consideration for the case where a map is regularly
// changing. this could be optimized for a very large, sparse map or one that
// is changing constantly, by moving the setPosition()/setCost() to right after
// the first getTile() inside consider().

// based on:
// http://www.policyalmanac.org/games/aStarTutorial.htm
// http://stackoverflow.com/questions/1517854/priority-queue-comparison-for-pointers
// http://www.cplusplus.com/reference/stl/priority_queue/
// http://www.cplusplus.com/reference/stl/set/

class Tile {
public:
Tile() : total(0), known(0), estimate(0), cost(1) {
Expand Down

0 comments on commit 4225ad3

Please sign in to comment.