|
batching_pomp
1.0
This is an implementation of an algorithmic framework for anytime motion planning on large dense roadmaps.
|
Derived class of Model that uses kNN to represent the C-space belief. More...
#include <KNNModel.hpp>
Inherits batching_pomp::cspacebelief::Model< BeliefPoint >.
Public Member Functions | |
| KNNModel (size_t _KNN, double _prior, double _priorWeight, const std::function< double(const BeliefPoint &, const BeliefPoint &)> &_distanceFunction) | |
| void | setPrior (double _prior) |
| void | setPriorWeight (double _priorWeight) |
| void | setKNN (size_t _knn) |
| void | addPoint (const BeliefPoint &data) override |
| void | removePoint (const BeliefPoint &data) override |
| double | estimate (const BeliefPoint &query) const override |
Derived class of Model that uses kNN to represent the C-space belief.
Implements a C-Space Belief Model using k-Nearest Neighbour lookup and weighted averaging over the results of neighbouring belief points. The weights are inversely proportional to the distance between the queried point and the neighbouring belief points.
|
inline |
| [in] | _KNN | The value of k for KNN lookup |
| [in] | _distanceFunction | The ompl::NearestNeighbours::Distance Function to set |
|
inlineoverridevirtual |
Add a data point to the belief manager.
| [in] | data | The datapoint to add to the belief manager. |
Implements batching_pomp::cspacebelief::Model< BeliefPoint >.
|
inlineoverridevirtual |
Estimate the configuration space belief of the query
| [in] | query | The datapoint for which the probability of collision is estimated. |
Implements batching_pomp::cspacebelief::Model< BeliefPoint >.
|
inlineoverridevirtual |
Remove a data point from the belief manager (rarely used)
| [in] | data | The datapoint to remove from the belief manager. |
Implements batching_pomp::cspacebelief::Model< BeliefPoint >.
1.8.13