You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ By default, Fred will automatically determine the number of threads to use. If y
25
25
- returns: `fred.Continuous_Frechet_Result` with members `value`, `time_bounds`: running-time for upper and lower bound, `number_searches`: number of free space diagrams built, `time_searches`: running-time for free spaces
26
26
27
27
###### continuous Frechet distance config
28
-
- approximation error: `fred.set_continuous_frechet_epsilon(epsilon)` with parameter `epsilon`, which defaults to 0.001
29
-
- rounding (rounding up to 3 decimals): `fred.set_continuous_frechet_rounding(round)` with parameter `round`, which defaults to true
28
+
- approximation error in percent of distance: `fred.set_continuous_frechet_error(double percent)` with parameter `percent`, which defaults to 1
29
+
- rounding: `fred.set_continuous_frechet_rounding(round)` with parameter `round`, which defaults to true
@@ -40,19 +40,19 @@ By default, Fred will automatically determine the number of threads to use. If y
40
40
41
41
All simplifications are vertex-restricted!
42
42
43
-
#### weak minimum error simplification
43
+
#### minimum error simplification
44
44
- graph approach from [**Polygonal Approximations of a Curve — Formulations and Algorithms**](https://www.sciencedirect.com/science/article/pii/B9780444704672500114)
45
-
- signature: `fred.weak_minimum_error_simplification(fred.Curve, int complexity)`
45
+
- signature: `fred.minimum_error_simplification(fred.Curve, int complexity)`
46
46
- returns: `fred.Curve`that uses input curves vertices, with `complexity` number of vertices and that has minimum distance to input curve
47
47
48
-
#### approximate weak minimum link simplification
48
+
#### approximate minimum link simplification
49
49
- algorithm "FS" from [**Near-Linear Time Approximation Algorithms for Curve Simplification**](https://link.springer.com/article/10.1007/s00453-005-1165-y)
- binary search on `fred.approximate_weak_minimum_link_simplification`
55
-
- signature: `fred.approximate_weak_minimum_error_simplification(fred.Curve, int complexity)`
53
+
#### approximate minimum error simplification
54
+
- binary search on `fred.approximate_minimum_link_simplification`
55
+
- signature: `fred.approximate_minimum_error_simplification(fred.Curve, int complexity)`
56
56
- returns: `fred.Curve`that uses input curves vertices, with `complexity` number of vertices and that has small distance to input curve
57
57
58
58
### Clustering
@@ -68,7 +68,7 @@ A `fred.Distance_Matrix()` can be used to speed up consecutive calls of `fred.di
68
68
-`l`: maximum complexity of the centers
69
69
-`distances`: `fred.Distance_Matrix`, defaults to empty `fred.Distance_Matrix`
70
70
-`random_first_center`: determines if first center is chosen uniformly at random or first curve is used as first center, optional, defaults to true
71
-
-`fast_simplification`: determines whether to use the weak minimum error simplification or the faster approximate weak minimum error simplification, defaults to false
71
+
-`fast_simplification`: determines whether to use the minimum error simplification or the faster approximate minimum error simplification, defaults to false
72
72
- returns: `fred.Clustering_Result` with mebers
73
73
-`value`: objective value
74
74
-`time`: running-time
@@ -80,7 +80,7 @@ A `fred.Distance_Matrix()` can be used to speed up consecutive calls of `fred.di
80
80
-`k`: number of centers
81
81
-`l`: maximum complexity of the centers
82
82
-`distances`: `fred.Distance_Matrix`, defaults to empty `fred.Distance_Matrix`
83
-
-`fast_simplification`: determines whether to use the weak minimum error simplification or the faster approximate weak minimum error simplification, defaults to false
83
+
-`fast_simplification`: determines whether to use the minimum error simplification or the faster approximate minimum error simplification, defaults to false
0 commit comments