42 typedef boost::shared_ptr<Set> SetPtr;
46 typedef std::pair< std::set<SetPtr>, SetPtr > Relation;
50 std::set<SetPtr> sets;
51 std::set<Relation> relations;
54 typedef boost::function<bool (const std::vector<OpenRAVE::dReal> & values)> Indicator;
59 std::string GetInstanceId();
61 void SetCostPerIlc(
double cost_per_ilc);
68 int main(
const std::string & cmd);
71 std::string GetFamilyId();
77 SetPtr GetCurrentSet();
79 SetPtr GetSetFromExpression(std::string input);
82 SetPtr GetSet(std::string literal);
84 void Let(std::string literal, SetPtr set);
86 void Del(std::string literal);
88 std::string GetHeaderFromSet(SetPtr set);
90 SetPtr GetSetFromHeader(std::string set_header);
94 Family GetCurrentFamily(std::set<SetPtr> sets_ext = std::set<SetPtr>());
100 std::map< SetPtr, std::pair<double,Indicator> > GetIndicators(
const Family & family);
103 std::map<SetPtr,std::string> GetCanonicalNames(
const Family & family);
105 bool CmdGetInstanceId(std::ostream & soutput, std::istream & sinput);
107 bool CmdGetRobotName(std::ostream & soutput, std::istream & sinput);
109 bool CmdSetCostPerIlc(std::ostream & soutput, std::istream & sinput);
111 bool CmdGetFamilyId(std::ostream & soutput, std::istream & sinput);
118 bool CmdLet(std::ostream & soutput, std::istream & sinput);
121 bool CmdNamesOf(std::ostream & soutput, std::istream & sinput);
123 bool CmdPrintCurrentFamily(std::ostream & soutput, std::istream & sinput);
126 bool CmdGetHeaderFromSet(std::ostream & soutput, std::istream & sinput);
132 bool _has_use_baked_checker;
133 bool _use_baked_checker;
134 boost::weak_ptr<OpenRAVE::RobotBase> _robot;
135 bool _robot_nonempty;
136 std::vector<int> _active_dofs;
138 std::vector<int> _proxidxs;
141 double _cost_per_ilc;
152 std::string geomhash;
153 OpenRAVE::Transform pose;
159 typedef std::pair<PosedLink *, PosedLink *> Check;
163 std::set<Check> checks;
168 std::set<std::string> literals;
169 std::set<Check> checks;
170 std::set<Atom *> atoms;
178 std::map< std::pair<int,std::string>, std::set<PosedLink *> > _posedlinks;
181 std::set<Atom *> _atoms;
185 std::set<SetPtr> _sets_all;
190 std::map<std::string, SetPtr> _sets_bound;
196 std::map<PosedLink *, OpenRAVE::KinBody::LinkPtr> live_links();
198 SetPtr set_from_checks(
const std::set<Check> & checks);
Definition: module_family.h:34
Definition: module_family.h:48