00001 /* 00002 * A footstep planner for humanoid robots 00003 * 00004 * Copyright 2010-2011 Johannes Garimort, Armin Hornung, University of Freiburg 00005 * http://www.ros.org/wiki/footstep_planner 00006 * 00007 * 00008 * This program is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation, version 3. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 #include <footstep_planner/PlanningStateChangeQuery.h> 00022 00023 00024 namespace footstep_planner 00025 { 00026 PlanningStateChangeQuery::PlanningStateChangeQuery( 00027 const std::vector<int>& neighbors) 00028 : ivNeighbors(neighbors) 00029 {} 00030 00031 00032 PlanningStateChangeQuery::~PlanningStateChangeQuery() 00033 {} 00034 00035 00036 const std::vector<int>* 00037 PlanningStateChangeQuery::getPredecessors() const 00038 { 00039 return &ivNeighbors; 00040 } 00041 00042 00043 const std::vector<int>* 00044 PlanningStateChangeQuery::getSuccessors() const 00045 { 00046 return &ivNeighbors; 00047 } 00048 }