hpp-manipulation
4.12.0
Classes for manipulation planning.
random-shortcut.hh
Go to the documentation of this file.
1
// Copyright (c) 2018, Joseph Mirabel
2
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3
//
4
// This file is part of hpp-manipulation.
5
// hpp-manipulation is free software: you can redistribute it
6
// and/or modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation, either version
8
// 3 of the License, or (at your option) any later version.
9
//
10
// hpp-manipulation is distributed in the hope that it will be
11
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
// General Lesser Public License for more details. You should have
14
// received a copy of the GNU Lesser General Public License along with
15
// hpp-manipulation. If not, see <http://www.gnu.org/licenses/>.
16
17
#ifndef HPP_MANIPULATION_PATH_OPTIMIZATION_RANDOM_SHORTCUT_HH
18
# define HPP_MANIPULATION_PATH_OPTIMIZATION_RANDOM_SHORTCUT_HH
19
20
#include <hpp/core/path-optimization/random-shortcut.hh>
21
22
#include <
hpp/manipulation/fwd.hh
>
23
#include <
hpp/manipulation/config.hh
>
24
25
namespace
hpp
{
26
namespace
manipulation {
29
namespace
pathOptimization {
30
HPP_PREDEF_CLASS
(RandomShortcut);
31
typedef
shared_ptr<RandomShortcut>
RandomShortcutPtr_t
;
32
33
class
HPP_MANIPULATION_DLLAPI
RandomShortcut
:
34
public
core::pathOptimization::RandomShortcut
35
{
36
public
:
38
static
RandomShortcutPtr_t
create
39
(
const
core::ProblemConstPtr_t
problem)
40
{
41
return
RandomShortcutPtr_t
(
new
RandomShortcut
(problem));
42
}
43
44
protected
:
45
RandomShortcut
(
const
core::ProblemConstPtr_t
& problem)
46
: core::pathOptimization::
RandomShortcut
(problem)
47
{}
48
51
virtual
bool
shootTimes (
const
core::PathVectorPtr_t& currentOpt,
52
const
value_type
& t0,
53
value_type
& t1,
54
value_type
& t2,
55
const
value_type
& t3);
56
};
// class RandomShortcut
58
}
// namespace pathOptimization
59
}
// namespace manipulation
60
}
// namespace hpp
61
62
#endif // HPP_MANIPULATION_PATH_OPTIMIZATION_RANDOM_SHORTCUT_HH
hpp::manipulation::value_type
core::value_type value_type
Definition:
fwd.hh:82
HPP_MANIPULATION_DLLAPI
#define HPP_MANIPULATION_DLLAPI
Definition:
config.hh:64
hpp::manipulation::ProblemConstPtr_t
shared_ptr< const Problem > ProblemConstPtr_t
Definition:
fwd.hh:56
fwd.hh
hpp::manipulation::pathOptimization::HPP_PREDEF_CLASS
HPP_PREDEF_CLASS(SmallSteps)
hpp::manipulation::pathOptimization::RandomShortcut::RandomShortcut
RandomShortcut(const core::ProblemConstPtr_t &problem)
Definition:
random-shortcut.hh:45
hpp
Definition:
main.hh:1
hpp::manipulation::pathOptimization::RandomShortcutPtr_t
shared_ptr< RandomShortcut > RandomShortcutPtr_t
Definition:
random-shortcut.hh:31
hpp::manipulation::pathOptimization::RandomShortcut
Definition:
random-shortcut.hh:33
config.hh
include
hpp
manipulation
path-optimization
random-shortcut.hh
Generated by
1.8.17