11using TaggedPoints = std::pair<std::string, std::vector<Eigen::Vector3f>>;
15memoized(R (*fn)(
const std::vector<Eigen::Vector3f>&))
17 std::map<std::string, R> table;
18 return [table, fn](
const TaggedPoints& points)
mutable -> R
20 auto argt = points.first;
25 auto result = fn(points.second);
std::pair< std::string, std::vector< Eigen::Vector3f > > TaggedPoints
std::function< R(TaggedPoints)> memoized(R(*fn)(const std::vector< Eigen::Vector3f > &))