Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
GridWorld::State Struct ReferenceStores context used per node in path planning, stores row and column position. More...
Detailed DescriptionStores context used per node in path planning, stores row and column position. Definition at line 25 of file GridWorld.h.
Constructor & Destructor Documentation
default constructor, initializes to invalid position for fail-fast Definition at line 27 of file GridWorld.h.
constructor from a coordinate pair Definition at line 29 of file GridWorld.h. Member Function Documentation
a silly function to scatter row and column across the span of size_t Definition at line 31 of file GridWorld.h.
comparison operator to allow sorting states for faster lookup in std::set Definition at line 38 of file GridWorld.h.
equality is used to test against goal Definition at line 40 of file GridWorld.h. Friends And Related Function Documentation
just for debugging Definition at line 42 of file GridWorld.h. Member Data Documentation
column Definition at line 45 of file GridWorld.h. Referenced by GridWorld::expand(), hash(), GridWorld::heuristic(), operator<(), operator==(), and GridWorld::operator[]().
row Definition at line 44 of file GridWorld.h. Referenced by GridWorld::expand(), hash(), GridWorld::heuristic(), operator<(), operator==(), and GridWorld::operator[](). The documentation for this struct was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:09 2016 by Doxygen 1.6.3 |