Add assertions when adding A-star nodes
commit71d7212d633670d6fd76ae1d7ce6740c93a026e9
authorcirdan <cirdansw@gmail.com>
Sat, 25 Jan 2014 15:44:36 +0000 (25 16:44 +0100)
committercirdan <cirdansw@gmail.com>
Sat, 25 Jan 2014 15:44:36 +0000 (25 16:44 +0100)
tree321e75a2b4603cfb61a69007662d830725b484fe
parent67fa79251508a97aa8455f13a185d1ccea12ecaa
Add assertions when adding A-star nodes

Certain methods in Astar, such as addition of new nodes, must
always be called with the last created node; assert that this
is so.
src/pathfinder/yapf/astar.hpp
src/pathfinder/yapf/yapf_base.hpp