DynamicTimeWarp.cpp
53 ompl::tools::DynamicTimeWarp::DynamicTimeWarp(base::SpaceInformationPtr si) : si_(std::move(si)), table_(1, 1)
88 double ompl::tools::DynamicTimeWarp::getPathsScore(const og::PathGeometric &path1, const og::PathGeometric &path2) const
double calcDTWDistance(const og::PathGeometric &path1, const og::PathGeometric &path2) const
Use Dynamic Timewarping to score two paths.
Definition: DynamicTimeWarp.cpp:58
std::size_t getStateCount() const
Get the number of states (way-points) that make up this path.
Definition: PathGeometric.h:292
double getPathsScore(const og::PathGeometric &path1, const og::PathGeometric &path2) const
Use dynamic time warping to compare the similarity of two paths Note: this will interpolate both of t...
Definition: DynamicTimeWarp.cpp:88
void interpolate(unsigned int count)
Insert a number of states in a path so that the path is made up of exactly count states....
Definition: PathGeometric.cpp:337
base::State * getState(unsigned int index)
Get the state located at index along the path.
Definition: PathGeometric.h:280