PlannerDataStorage.cpp
unsigned int numEdges() const
Retrieve the number of edges in this structure.
Definition: PlannerData.cpp:208
virtual void storeEdges(const PlannerData &pd, boost::archive::binary_oarchive &oa)
Serialize and store all edges in pd to the binary archive.
Definition: PlannerDataStorage.h:257
unsigned int numVertices() const
Retrieve the number of vertices in this structure.
Definition: PlannerData.cpp:203
const SpaceInformationPtr & getSpaceInformation() const
Return the instance of SpaceInformation used in this PlannerData.
Definition: PlannerData.cpp:773
Definition: PlannerData.py:1
virtual void load(const char *filename, PlannerData &pd)
Load the PlannerData structure from the given stream. The StateSpace that was used to store the data ...
Definition: PlannerDataStorage.cpp:91
virtual void loadVertices(PlannerData &pd, unsigned int numVertices, boost::archive::binary_iarchive &ia)
Read numVertices from the binary input ia and store them as PlannerData.
Definition: PlannerDataStorage.h:171
A boost shared pointer wrapper for ompl::base::SpaceInformation.
Information stored at the beginning of the PlannerData archive.
Definition: PlannerDataStorage.h:106
virtual void storeVertices(const PlannerData &pd, boost::archive::binary_oarchive &oa)
Serialize and store all vertices in pd to the binary archive.
Definition: PlannerDataStorage.h:214
std::size_t vertex_count
Number of vertices stored in the archive.
Definition: PlannerDataStorage.h:112
boost::uint32_t marker
OMPL PlannerData specific marker (fixed value)
Definition: PlannerDataStorage.h:109
std::vector< int > signature
Signature of state space that allocated the saved states in the vertices (see ompl::base::StateSpace:...
Definition: PlannerDataStorage.h:118
virtual void loadEdges(PlannerData &pd, unsigned int numEdges, boost::archive::binary_iarchive &ia)
Read numEdges from the binary input ia and store them as PlannerData.
Definition: PlannerDataStorage.h:242
virtual void store(const PlannerData &pd, const char *filename)
Store (serialize) the PlannerData structure to the given filename.
Definition: PlannerDataStorage.cpp:50