hpp-rbprm
4.10.1
Implementation of RB-PRM planner using hpp.
analysis.hh
Go to the documentation of this file.
1
//
2
// Copyright (c) 2014 CNRS
3
// Authors: Steve Tonneau (steve.tonneau@laas.fr)
4
//
5
// This file is part of hpp-rbprm.
6
// hpp-rbprm is free software: you can redistribute it
7
// and/or modify it under the terms of the GNU Lesser General Public
8
// License as published by the Free Software Foundation, either version
9
// 3 of the License, or (at your option) any later version.
10
//
11
// hpp-rbprm is distributed in the hope that it will be
12
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
// General Lesser Public License for more details. You should have
15
// received a copy of the GNU Lesser General Public License along with
16
// hpp-core If not, see
17
// <http://www.gnu.org/licenses/>.
18
19
#ifndef HPP_ANALYSIS_HH
20
#define HPP_ANALYSIS_HH
21
22
#include <
hpp/rbprm/sampling/sample.hh
>
23
#include <
hpp/rbprm/sampling/sample-db.hh
>
24
#include <
hpp/rbprm/rbprm-fullbody.hh
>
25
26
#include <map>
27
28
namespace
hpp
{
29
30
namespace
rbprm {
31
namespace
sampling {
32
33
struct
HPP_RBPRM_DLLAPI
AnalysisFactory
{
34
AnalysisFactory
(
hpp::rbprm::RbPrmFullBodyPtr_t
device);
35
~
AnalysisFactory
();
36
37
bool
AddAnalysis(
const
std::string& name,
const
evaluate
func);
38
T_evaluate
evaluate_
;
39
rbprm::RbPrmFullBodyPtr_t
device_
;
40
};
41
}
// namespace sampling
42
}
// namespace rbprm
43
}
// namespace hpp
44
#endif // HPP_ANALYSIS_HH
rbprm-fullbody.hh
hpp::rbprm::sampling::AnalysisFactory::device_
rbprm::RbPrmFullBodyPtr_t device_
Definition:
analysis.hh:39
hpp::rbprm::sampling::evaluate
boost::function< double(const SampleDB &sampleDB, const sampling::Sample &sample)> evaluate
Definition:
sample-db.hh:70
hpp
Definition:
algorithm.hh:27
hpp::rbprm::sampling::T_evaluate
std::map< std::string, evaluate > T_evaluate
Definition:
sample-db.hh:71
sample.hh
sample-db.hh
hpp::rbprm::RbPrmFullBodyPtr_t
boost::shared_ptr< RbPrmFullBody > RbPrmFullBodyPtr_t
Definition:
kinematics_constraints.hh:12
hpp::rbprm::sampling::AnalysisFactory
Definition:
analysis.hh:33
hpp::rbprm::sampling::AnalysisFactory::evaluate_
T_evaluate evaluate_
Definition:
analysis.hh:38
HPP_RBPRM_DLLAPI
#define HPP_RBPRM_DLLAPI
Definition:
config.hh:64
include
hpp
rbprm
sampling
analysis.hh
Generated by
1.8.17