RealVectorStateProjections.h
57 RealVectorLinearProjectionEvaluator(const StateSpace *space, const std::vector<double> &cellSizes,
62 RealVectorLinearProjectionEvaluator(const StateSpacePtr &space, const std::vector<double> &cellSizes,
67 RealVectorLinearProjectionEvaluator(const StateSpace *space, const ProjectionMatrix::Matrix &projection);
71 RealVectorLinearProjectionEvaluator(const StateSpacePtr &space, const ProjectionMatrix::Matrix &projection);
88 RealVectorRandomLinearProjectionEvaluator(const StateSpace *space, const std::vector<double> &cellSizes)
96 RealVectorRandomLinearProjectionEvaluator(const StateSpacePtr &space, const std::vector<double> &cellSizes)
131 RealVectorOrthogonalProjectionEvaluator(const StateSpace *space, const std::vector<double> &cellSizes,
136 RealVectorOrthogonalProjectionEvaluator(const StateSpacePtr &space, const std::vector<double> &cellSizes,
142 RealVectorOrthogonalProjectionEvaluator(const StateSpace *space, std::vector<unsigned int> components);
147 RealVectorOrthogonalProjectionEvaluator(const StateSpacePtr &space, std::vector<unsigned int> components);
169 RealVectorIdentityProjectionEvaluator(const StateSpace *space, const std::vector<double> &cellSizes);
173 RealVectorIdentityProjectionEvaluator(const StateSpacePtr &space, const std::vector<double> &cellSizes);
Abstract definition for a class computing projections to Rn. Implicit integer grids are imposed on th...
Definition: ProjectionEvaluator.h:131
const RealVectorBounds & getBounds() const
Get the bounds computed/set for this projection.
Definition: ProjectionEvaluator.h:218
A projection matrix – it allows multiplication of real vectors by a specified matrix....
Definition: ProjectionEvaluator.h:59
Define the identity projection.
Definition: RealVectorStateProjections.h:165
unsigned int getDimension() const override
Return the dimension of the projection defined by this evaluator.
Definition: RealVectorStateProjections.cpp:219
void project(const State *state, Eigen::Ref< Eigen::VectorXd > projection) const override
Compute the projection as an array of double values.
Definition: RealVectorStateProjections.cpp:224
void defaultCellSizes() override
Set the default cell dimensions for this projection. The default implementation of this function is e...
Definition: RealVectorStateProjections.cpp:205
void setup() override
Perform configuration steps, if needed.
Definition: RealVectorStateProjections.cpp:213
RealVectorIdentityProjectionEvaluator(const StateSpace *space, const std::vector< double > &cellSizes)
Initialize the identity projection evaluator for state space space. The indices of the kept component...
Definition: RealVectorStateProjections.cpp:170
Definition for a class computing linear projections (multiplication of a k-by-n matrix to the the Rn ...
Definition: RealVectorStateProjections.h:53
void project(const State *state, Eigen::Ref< Eigen::VectorXd > projection) const override
Compute the projection as an array of double values.
Definition: RealVectorStateProjections.cpp:152
RealVectorLinearProjectionEvaluator(const StateSpace *space, const std::vector< double > &cellSizes, const ProjectionMatrix::Matrix &projection)
Initialize a linear projection evaluator for state space space. The used projection matrix is project...
Definition: RealVectorStateProjections.cpp:57
unsigned int getDimension() const override
Return the dimension of the projection defined by this evaluator.
Definition: RealVectorStateProjections.cpp:147
Definition for a class computing orthogonal projections.
Definition: RealVectorStateProjections.h:127
unsigned int getDimension() const override
Return the dimension of the projection defined by this evaluator.
Definition: RealVectorStateProjections.cpp:158
std::vector< unsigned int > components_
The set of components selected by the projection.
Definition: RealVectorStateProjections.h:160
RealVectorOrthogonalProjectionEvaluator(const StateSpace *space, const std::vector< double > &cellSizes, std::vector< unsigned int > components)
Initialize an orthogonal projection evaluator for state space space. The indices of the kept componen...
Definition: RealVectorStateProjections.cpp:91
void defaultCellSizes() override
Set the default cell dimensions for this projection. The default implementation of this function is e...
Definition: RealVectorStateProjections.cpp:134
void copyBounds()
Fill bounds_ with bounds from the state space.
Definition: RealVectorStateProjections.cpp:123
void project(const State *state, Eigen::Ref< Eigen::VectorXd > projection) const override
Compute the projection as an array of double values.
Definition: RealVectorStateProjections.cpp:163
Definition for a class computing a random linear projections.
Definition: RealVectorStateProjections.h:84
RealVectorRandomLinearProjectionEvaluator(const StateSpace *space, unsigned int dim)
Initialize a linear projection evaluator for state space space. The used projection matrix is sampled...
Definition: RealVectorStateProjections.h:105
RealVectorRandomLinearProjectionEvaluator(const StateSpacePtr &space, const std::vector< double > &cellSizes)
Initialize a linear projection evaluator for state space space. The used projection matrix is sampled...
Definition: RealVectorStateProjections.h:96
RealVectorRandomLinearProjectionEvaluator(const StateSpace *space, const std::vector< double > &cellSizes)
Initialize a linear projection evaluator for state space space. The used projection matrix is sampled...
Definition: RealVectorStateProjections.h:88
RealVectorRandomLinearProjectionEvaluator(const StateSpacePtr &space, unsigned int dim)
Initialize a linear projection evaluator for state space space. The used projection matrix is sampled...
Definition: RealVectorStateProjections.h:116
A state space representing Rn. The distance function is the L2 norm.
Definition: RealVectorStateSpace.h:74
A shared pointer wrapper for ompl::base::StateSpace.
Representation of a space in which planning can be performed. Topology specific sampling,...
Definition: StateSpace.h:71
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:53