#include <grasp_evaluator.h>
Public Member Functions | |
void | addEvaluator (boost::shared_ptr< RawGraspEvaluator > eval, int id) |
double | evaluate (const GraspWM &grasp, const object_manipulation_msgs::GraspableObject &object) const |
Evalute a single grasp (raw grasp metric). | |
void | evaluate_list (std::vector< GraspWM > &grasps, const object_manipulation_msgs::GraspableObject &object, std::vector< double > &values) |
Evaluate an entire list of grasps (overwrite if there is a batch operation for an inherited class). | |
MultiplexEvaluator () | |
Private Attributes | |
std::map< int, boost::shared_ptr < RawGraspEvaluator > > | eval_map_ |
Definition at line 84 of file grasp_evaluator.h.
bayesian_grasp_planner::MultiplexEvaluator::MultiplexEvaluator | ( | ) | [inline] |
Definition at line 89 of file grasp_evaluator.h.
void bayesian_grasp_planner::MultiplexEvaluator::addEvaluator | ( | boost::shared_ptr< RawGraspEvaluator > | eval, | |
int | id | |||
) | [inline] |
Definition at line 94 of file grasp_evaluator.h.
double bayesian_grasp_planner::MultiplexEvaluator::evaluate | ( | const GraspWM & | grasp, | |
const object_manipulation_msgs::GraspableObject & | object | |||
) | const [inline, virtual] |
Evalute a single grasp (raw grasp metric).
Implements bayesian_grasp_planner::RawGraspEvaluator.
Definition at line 99 of file grasp_evaluator.h.
void bayesian_grasp_planner::MultiplexEvaluator::evaluate_list | ( | std::vector< GraspWM > & | grasps, | |
const object_manipulation_msgs::GraspableObject & | object, | |||
std::vector< double > & | values | |||
) | [inline, virtual] |
Evaluate an entire list of grasps (overwrite if there is a batch operation for an inherited class).
Reimplemented from bayesian_grasp_planner::RawGraspEvaluator.
Definition at line 111 of file grasp_evaluator.h.
std::map<int, boost::shared_ptr<RawGraspEvaluator> > bayesian_grasp_planner::MultiplexEvaluator::eval_map_ [private] |
Definition at line 87 of file grasp_evaluator.h.