Before revision:  \% This distance function builds the basis for our index structure which is able to quickly answer queries for the top-k most similar trajectories.
After revision:  \% This distance function builds the basis for our index structures, which can be constructed efficiently, need only linear memory, and can quickly answer queries for the top-k most similar trajectories.