Pairs of curves, and the distances and morphings that FrechetDist.jl computes for them. Made by examples/webpage/generate_examples.jl; see the manual.
For each example: the number of vertices of the two curves, their exact Fréchet distance, and the time (in seconds) of frechet_c_compute_exact (exact) and of frechet_c_compute (within a factor 1 + 10-5). Times are wall-clock seconds of one run, single-threaded, on the machine that built the gallery (after compilation).
| Curves | Example | #P | #Q | Distance | Exact (s) | frechet_c_compute (s) |
|---|---|---|---|---|---|---|
![]() | Example 1 | 2 | 5 | 1.35 | 0.000121 | 0.000123 |
![]() | Example 2 | 2 | 5 | 1 | 6.8e-05 | 0.000135 |
![]() | Example 3 | 8 | 8 | 0.7 | 0.000139 | 0.000822 |
![]() | Example 4 | 2 | 2 | 1.1 | 6.67e-05 | 0.000117 |
![]() | Example 5 | 9 | 9 | 0.712551 | 0.000138 | 0.00618 |
![]() | Example 6: Refinement in action | 19 | 30 | 0.921199 | 0.000287 | 0.00591 |
![]() | Example 7 | 2 | 2 | 5.30754 | 6.97e-05 | 0.000134 |
![]() | Example 8 (3) | 6 | 2 | 0.635316 | 0.000106 | 0.00192 |
![]() | Example 9 (double zig-zag 3+4) | 5 | 6 | 1.59838 | 0.000125 | 0.00361 |
![]() | Example 10 | 6 | 9 | 0.823688 | 0.000142 | 0.00241 |
![]() | Example of big curves (GPS tracks) | 6323 | 3111 | 1.24813 | 0.315 | 0.0124 |
![]() | Example of close curves (GPS tracks) | 269 | 278 | 0.000296604 | 0.00351 | 0.00103 |
![]() | Example 13 (7 fixed) | 4 | 4 | 4.8 | 7e-05 | 0.000126 |
![]() | Example 14 the lone zigzag: Refinement in action | 19 | 2 | 0.921199 | 0.000182 | 0.00255 |
![]() | Example 15 | 7 | 16 | 0.654581 | 7.42e-05 | 0.000154 |
![]() | Example 16 | 211 | 41 | 1.15858 | 0.000582 | 0.000454 |
![]() | Example 17 | 203 | 202 | 2.98329 | 0.0189 | 0.000512 |
![]() | Example 18 | 4 | 4 | 2.82812 | 0.000114 | 0.000114 |
![]() | Example of birds migration (GPS tracks) | 10406 | 8758 | 6.83996 | 1.28 | 0.106 |
![]() | Example II of birds migration (GPS tracks) | 12484 | 16672 | 8.37798 | 3.07 | 0.69 |
![]() | Example III of birds migration (GPS tracks) | 22316 | 4613 | 15.1543 | 1.61 | 0.289 |
![]() | Paper example 1 (birds: 1787_1 vs 1797_1 | 10406 | 11821 | 5.94132 | 1.69 | 0.13 |
![]() | Paper example 2 (birds: 2307_3 vs 2859_3 | 4694 | 8488 | 30.6589 | 0.64 | 0.0345 |
![]() | Paper example 3 (birds: 2322_2 vs 1793_4 | 22316 | 4613 | 15.1543 | 1.65 | 0.318 |
![]() | Paper example 4: GeoLife 20080928160000 / 20081219114010 | 56730 | 91743 | 16.338 | 0.00164 | 2.33 |
![]() | Paper example 5: GeoLife 20090708221430 / 20090712044248 | 6103 | 9593 | 3.29655 | 0.936 | 8.88 |
![]() | Paper example 6: Pigeons RH887_1 / RH887_11 | 2702 | 1473 | 0.0211905 | 0.0596 | 0.0146 |
![]() | Paper example 7: Pigeons C369_5 / C873_6 | 1068 | 1071 | 0.000371949 | 0.0206 | 0.00413 |
![]() | Paper example 8: Pigeons C360_10 / C480_9 | 864 | 1168 | 0.00754675 | 0.0153 | 0.0106 |
![]() | Example 30: ZigZag does not math a Zag | 2 | 4 | 2.0249 | 0.0001 | 0.00181 |
![]() | Example 31:Inverse hearts | 315 | 315 | 12 | 1.33e-05 | 0.00159 |
![]() | Example 32 | 2 | 5 | 1.35 | 0.000133 | 0.000139 |
![]() | Example 33 | 2 | 9 | 0.533864 | 0.000129 | 0.00343 |
![]() | Example 34 | 42 | 165 | 1.31091 | 0.00041 | 0.00103 |
![]() | Example 35: Zig zag zog | 15 | 16 | 0.420633 | 0.000291 | not run |
![]() | Example 36 | 6 | 12 | 0.514227 | 0.000231 | 15.2 |
![]() | Example 37 | 137 | 125 | 17.6344 | 0.000838 | 0.0727 |
![]() | Example 38 | 730 | 731 | 0.263647 | 0.0379 | 0.0224 |
![]() | Example 39 | 82 | 1024 | 0.698925 | 0.00511 | 0.00543 |
![]() | Example 40 | 9 | 11 | 0.101272 | 0.000167 | 0.000479 |
![]() | Example 41 | 15 | 18 | 0.103846 | 0.000296 | 0.00241 |