00001 //###################################################################### 00002 // 00003 // GraspIt! 00004 // Copyright (C) 2002-2009 Columbia University in the City of New York. 00005 // All rights reserved. 00006 // 00007 // GraspIt! is free software: you can redistribute it and/or modify 00008 // it under the terms of the GNU General Public License as published by 00009 // the Free Software Foundation, either version 3 of the License, or 00010 // (at your option) any later version. 00011 // 00012 // GraspIt! is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with GraspIt!. If not, see <http://www.gnu.org/licenses/>. 00019 // 00020 // Author(s): Corey Goldfeder 00021 // 00022 // $Id: grasp_ranker.h,v 1.4 2009/06/17 18:57:15 coreyg Exp $ 00023 // 00024 //###################################################################### 00025 00031 #ifndef DB_PLANNER_GRASP_RANKER_H 00032 #define DB_PLANNER_GRASP_RANKER_H 00033 00034 #include <string> 00035 #include <vector> 00036 #include "grasp.h" 00037 using std::string; 00038 using std::vector; 00039 00040 namespace db_planner { 00041 00043 class GraspRanker { 00044 private: 00046 string hand_name_; 00047 public: 00048 GraspRanker(const string& hand_name) : hand_name_(hand_name) { } 00050 00051 virtual bool Rank(vector<Grasp>* /*grasps*/) const { return true; } 00052 ~GraspRanker() {} 00053 }; 00054 00055 } // end namespace db_planner 00056 00057 00058 #endif // DB_PLANNER_GRASP_RANKER_H