 \% This distance function builds the basis for our index structure which is able to quickly answer queries for the top-k most similar trajectories.
<meaning-changed>  \% This distance function builds the basis for our index structure which is able to quickly answer queries for the top-k most similar trajectories.
 \% 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.