#include <grasp_regression_evaluator.h>
Public Member Functions | |
double | estimateProbability (const GraspWithMetadata &grasp) const |
GraspRegressionEvaluator (const std::vector< GraspWithMetadata > &grasps, boost::shared_ptr< GraspSuccessProbabilityComputer > &simple_computer, double position_bandwidth, double orientation_bandwidth) | |
Private Attributes | |
std::vector< GraspWithMetadata > | grasps_ |
A local copy of the grasps used to construct this density estimator. TODO: do we need a local copy? | |
double | orientation_bandwidth_ |
double | position_bandwidth_ |
boost::shared_ptr < GraspSuccessProbabilityComputer > | simple_computer_ |
Given a list of grasps and a class which can be called to compute the probability of a grasp whose energy value is known, creates a density estimator which can estimate the probability density for an arbitrary grasp, using the known data points.
Definition at line 49 of file grasp_regression_evaluator.h.
probabilistic_grasp_planner::GraspRegressionEvaluator::GraspRegressionEvaluator | ( | const std::vector< GraspWithMetadata > & | grasps, |
boost::shared_ptr< GraspSuccessProbabilityComputer > & | simple_computer, | ||
double | position_bandwidth, | ||
double | orientation_bandwidth | ||
) | [inline] |
Definition at line 59 of file grasp_regression_evaluator.h.
double probabilistic_grasp_planner::GraspRegressionEvaluator::estimateProbability | ( | const GraspWithMetadata & | grasp | ) | const |
Definition at line 46 of file grasp_regression_evaluator.cpp.
std::vector<GraspWithMetadata> probabilistic_grasp_planner::GraspRegressionEvaluator::grasps_ [private] |
A local copy of the grasps used to construct this density estimator. TODO: do we need a local copy?
Definition at line 53 of file grasp_regression_evaluator.h.
Definition at line 57 of file grasp_regression_evaluator.h.
Definition at line 56 of file grasp_regression_evaluator.h.
boost::shared_ptr<GraspSuccessProbabilityComputer> probabilistic_grasp_planner::GraspRegressionEvaluator::simple_computer_ [private] |
Definition at line 54 of file grasp_regression_evaluator.h.