A GraspRanker takes a list of Grasp objects and sorts them from best to worst. More...
#include <grasp_ranker.h>
Public Member Functions | |
GraspRanker (const string &hand_name) | |
virtual bool | Rank (vector< Grasp > *) const |
Rank a list of grasps by sorting in place them from best to worst. | |
~GraspRanker () | |
Private Attributes | |
string | hand_name_ |
The name of the hand to rank grasps for. |
A GraspRanker takes a list of Grasp objects and sorts them from best to worst.
Definition at line 43 of file grasp_ranker.h.
db_planner::GraspRanker::GraspRanker | ( | const string & | hand_name | ) | [inline] |
Definition at line 48 of file grasp_ranker.h.
db_planner::GraspRanker::~GraspRanker | ( | ) | [inline] |
Definition at line 52 of file grasp_ranker.h.
virtual bool db_planner::GraspRanker::Rank | ( | vector< Grasp > * | ) | const [inline, virtual] |
Rank a list of grasps by sorting in place them from best to worst.
This default implementation doesn't change the order.
Definition at line 51 of file grasp_ranker.h.
string db_planner::GraspRanker::hand_name_ [private] |
The name of the hand to rank grasps for.
Definition at line 46 of file grasp_ranker.h.