Main Page
Namespaces
Classes
Files
File List
File Members
src
PlanningStateChangeQuery.cpp
Go to the documentation of this file.
1
/*
2
* A footstep planner for humanoid robots
3
*
4
* Copyright 2010-2011 Johannes Garimort, Armin Hornung, University of Freiburg
5
* http://www.ros.org/wiki/footstep_planner
6
*
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, version 3.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#include <
footstep_planner/PlanningStateChangeQuery.h
>
22
23
24
namespace
footstep_planner
25
{
26
PlanningStateChangeQuery::PlanningStateChangeQuery
(
27
const
std::vector<int>& neighbors)
28
: ivNeighbors(neighbors)
29
{}
30
31
32
PlanningStateChangeQuery::~PlanningStateChangeQuery
()
33
{}
34
35
36
const
std::vector<int>*
37
PlanningStateChangeQuery::getPredecessors
()
const
38
{
39
return
&
ivNeighbors
;
40
}
41
42
43
const
std::vector<int>*
44
PlanningStateChangeQuery::getSuccessors
()
const
45
{
46
return
&
ivNeighbors
;
47
}
48
}
PlanningStateChangeQuery.h
footstep_planner::PlanningStateChangeQuery::PlanningStateChangeQuery
PlanningStateChangeQuery(const std::vector< int > &neighbors)
Definition:
PlanningStateChangeQuery.cpp:26
footstep_planner::PlanningStateChangeQuery::~PlanningStateChangeQuery
virtual ~PlanningStateChangeQuery()
Definition:
PlanningStateChangeQuery.cpp:32
footstep_planner::PlanningStateChangeQuery::ivNeighbors
const std::vector< int > & ivNeighbors
Definition:
PlanningStateChangeQuery.h:42
footstep_planner::PlanningStateChangeQuery::getPredecessors
const std::vector< int > * getPredecessors() const
Definition:
PlanningStateChangeQuery.cpp:37
footstep_planner::PlanningStateChangeQuery::getSuccessors
const std::vector< int > * getSuccessors() const
Definition:
PlanningStateChangeQuery.cpp:44
footstep_planner
Definition:
Footstep.h:28
footstep_planner
Author(s): Johannes Garimort, Armin Hornung
autogenerated on Mon Jun 10 2019 13:38:24