hrplib
hrpPlanner
ConfigurationSpace.h
Go to the documentation of this file.
1
// -*- mode: c++; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4; -*-
2
#ifndef __CONFIGURATION_SPACE_H__
3
#define __CONFIGURATION_SPACE_H__
4
5
#include "
exportdef.h
"
6
#include <vector>
7
#include <iostream>
8
9
namespace
PathEngine
{
10
class
Configuration;
11
12
class
HRPPLANNER_API
ConfigurationSpace
13
{
14
public
:
18
ConfigurationSpace
(
unsigned
int
i_size);
19
24
bool
isValid(
const
Configuration
& cfg)
const
;
25
31
double
&weight(
unsigned
int
i_rank);
32
const
double
weight(
unsigned
int
i_rank)
const
;
33
40
void
bounds(
unsigned
int
i_rank,
double
min
,
double
max
);
41
47
double
& ubound(
unsigned
int
i_rank);
48
54
double
& lbound(
unsigned
int
i_rank);
55
61
void
unboundedRotation(
unsigned
int
i_rank,
bool
i_flag);
62
68
bool
unboundedRotation(
unsigned
int
i_rank);
69
74
Configuration
random();
75
80
unsigned
int
size
();
81
82
private
:
83
unsigned
int
m_size
;
84
std::vector<double>
m_ubounds
;
85
std::vector<double>
m_lbounds
;
86
std::vector<double>
m_weights
;
87
std::vector<bool>
m_isUnboundedRotation
;
88
};
89
};
90
91
92
#endif
PathEngine::Configuration
Definition:
Configuration.h:10
PathEngine::ConfigurationSpace::m_lbounds
std::vector< double > m_lbounds
Definition:
ConfigurationSpace.h:85
PathEngine::ConfigurationSpace::m_ubounds
std::vector< double > m_ubounds
Definition:
ConfigurationSpace.h:84
hrp::min
static int min(int a, int b)
Definition:
MatrixSolvers.cpp:55
size
png_uint_32 size
Definition:
png.h:1521
PathEngine::ConfigurationSpace
Definition:
ConfigurationSpace.h:12
PathEngine::ConfigurationSpace::m_isUnboundedRotation
std::vector< bool > m_isUnboundedRotation
Definition:
ConfigurationSpace.h:87
PathEngine::ConfigurationSpace::m_size
unsigned int m_size
Definition:
ConfigurationSpace.h:83
PathEngine::ConfigurationSpace::m_weights
std::vector< double > m_weights
Definition:
ConfigurationSpace.h:86
HRPPLANNER_API
#define HRPPLANNER_API
Definition:
exportdef.h:22
exportdef.h
PathEngine
Definition:
Algorithm.h:13
hrp::max
static int max(int a, int b)
Definition:
MatrixSolvers.cpp:54
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:02