00001 // SVN $HeadURL: https://alufr-ros-pkg.googlecode.com/svn/trunk/humanoid_navigation/footstep_planner/src/PlanningStateChangeQuery.cpp $ 00002 // SVN $Id: PlanningStateChangeQuery.cpp 2159 2011-11-09 20:22:25Z garimort.johannes $ 00003 00004 #include <footstep_planner/PlanningStateChangeQuery.h> 00005 00006 00007 namespace footstep_planner 00008 { 00009 PlanningStateChangeQuery::PlanningStateChangeQuery( 00010 const std::vector<int>& neighbors) 00011 : ivNeighbors(neighbors) 00012 {} 00013 00014 00015 PlanningStateChangeQuery::~PlanningStateChangeQuery() 00016 {} 00017 00018 00019 const std::vector<int>* 00020 PlanningStateChangeQuery::getPredecessors() const 00021 { 00022 return &ivNeighbors; 00023 } 00024 00025 00026 const std::vector<int>* 00027 PlanningStateChangeQuery::getSuccessors() const 00028 { 00029 return &ivNeighbors; 00030 } 00031 }