|
Hermes
|
The file implements trajectory transformation with random shift. More...
Functions | |
| integer | trajectory_transformation_random_shift (text dataset, float rate, float distance, boolean save=true, text new_dataset_name="transformed", boolean csv_file=true) |
| This function performs trajectory transformation by shifting randomly rate % points. More... | |
The file implements trajectory transformation with random shift.
| integer trajectory_transformation_random_shift | ( | text | dataset, |
| float | rate, | ||
| float | distance, | ||
| boolean | save = true, |
||
| text | new_dataset_name = "transformed", |
||
| boolean | csv_file = true |
||
| ) |
This function performs trajectory transformation by shifting randomly rate % points.
| [in] | dataset | Name of the dataset |
| [in] | rate | Percentage of points to be shifted, 0 ≤ rate ≤ 1 |
| [in] | distance | Float which indicates the maximum distance of the shifted point from the initial one |
| [in] | save | Boolean which indicates whether the new dataset will be saved in Hermes |
| [in] | new_dataset_name | The name with which the transformed dataset will be stored in Hermes |
| [in] | csv_file | Boolean which indicates whether the new dataset will exported in a cvs format (traj_new.txt) |