18 #ifndef HPP_CORE_PARSER_ROADMAP_FACTORY_HH 19 # define HPP_CORE_PARSER_ROADMAP_FACTORY_HH 21 # include <hpp/util/parser.hh> 23 # include <hpp/util/factories/sequence.hh> 26 # include <hpp/core/config.hh> 54 typedef ::hpp::util::parser::ObjectFactory
Parent_t;
72 virtual bool finishAttributes ();
74 virtual void finishTags ();
82 void computePermutation (
const std::vector <std::string>& jointNames);
84 (
const std::vector <double>& config);
90 typedef std::vector <std::size_t> SizeVector_t;
91 SizeVector_t permutation_;
95 typedef std::vector <NodePtr_t>
Nodes_t;
96 typedef std::vector <EdgePtr_t>
Edges_t;
104 #endif // HPP_CORE_PARSER_ROADMAP_FACTORY_HH void writeRoadmap(std::ostream &o, const ProblemPtr_t &problem, const RoadmapPtr_t &roadmap)
Write roadmap to a text file.
RoadmapPtr_t readRoadmap(const std::string &filename, const ProblemPtr_t &problem)
Create a new roadmap from a file.
hpp::util::parser::SequenceFactory< std::string > StringSequence
Definition: roadmap-factory.hh:36
pinocchio::size_type size_type
Definition: fwd.hh:156
static ObjectFactory * create(const RoadmapPtr_t &r, const ProblemPtr_t &p, ObjectFactory *parent, const XMLElement *el)
Definition: roadmap-factory.hh:65
RoadmapPtr_t roadmap() const
Definition: roadmap-factory.hh:61
std::list< NodePtr_t > Nodes_t
Definition: fwd.hh:164
hpp::util::parser::SequenceFactory< unsigned int > IdSequence
Definition: roadmap-factory.hh:38
hpp::util::parser::SequenceFactory< double > ConfigurationFactory
Definition: roadmap-factory.hh:37
pinocchio::ConfigurationPtr_t ConfigurationPtr_t
Definition: fwd.hh:99
std::list< Edge * > Edges_t
Definition: fwd.hh:127
boost::shared_ptr< Roadmap > RoadmapPtr_t
Definition: fwd.hh:181
::hpp::util::parser::ObjectFactory Parent_t
Definition: roadmap-factory.hh:54
boost::shared_ptr< Problem > ProblemPtr_t
Definition: fwd.hh:179
Definition: roadmap-factory.hh:52