Loading...
Searching...
No Matches
DynamicTimeWarp.cpp
53ompl::tools::DynamicTimeWarp::DynamicTimeWarp(base::SpaceInformationPtr si) : si_(std::move(si)), table_(1, 1)
88double ompl::tools::DynamicTimeWarp::getPathsScore(const og::PathGeometric &path1, const og::PathGeometric &path2) const
std::size_t getStateCount() const
Get the number of states (way-points) that make up this path.
Definition PathGeometric.h:260
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:248
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
double calcDTWDistance(const og::PathGeometric &path1, const og::PathGeometric &path2) const
Use Dynamic Timewarping to score two paths.
Definition DynamicTimeWarp.cpp:58
STL namespace.