Commit 21c2bf86 authored by Adrián Gómez Brandón's avatar Adrián Gómez Brandón
Browse files

Update README.md

parent d1f01483
......@@ -5,8 +5,43 @@ This repository contains the links to the implementations of the CT indexes:
* GraCT: https://gitlab.lbd.org.es/agomez/gract
* ScdcCT: https://gitlab.lbd.org.es/agomez/scdcct
# Queries file
The queries file can be composed by different type of queries. Each queries is specified as:
```
id
parameters query
id
```
We have different type of queries, so different ids and parameters:
* Search an object (id = -1): 'object id' 'time instant'
* Search a trajectory (id = -2): 'object id' 'time instant start' 'time instant end'
* Time slice (id = -3): 'time instant' 'min x' 'max x' 'min y' 'max y'
* Time interval (id = -4): 'time instant start' 'time instant end' 'min x' 'max x' 'min y' 'max y'
* KNN (id = -5): 'time instant' 'x' 'y' 'k'
**Example 1. Search the position of the object with id 1 at time instant 13.**
```
-1
1 13
-1
```
**Example 2. Search the trajectory of the object with id 1 between 13 and 26 and search for the 5-nearest neighbours to position (10, 8) at time instant 7 .**
```
-2
1 13 26
-2
-5
7 10 8 5
-5
```
# Datasets
The datasets are stored in 'datasets' folder.
# Authors
* Nieves R. Brisaboa
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment