Optimization
[ Back ] [ Home ] [ Next ]

 

Constraints as Data
Potential Apps
Query by Example
Query by Example
Query by Example
More Examples
Model and Language
Main Features
Hosting Iterative Lang.
Constraint Calculus
Constraint Calculus
Polynomial Complexity
Query Evaluation
Functionality
Optimization
Optimization
Optimization
Optimization
Implemented Apps
Implemented Apps

Optimization by Approximation-based Filtering and Indexing

Inverse, approximation and indexed approximation groupings are indexing mechanisms in CCUBE, which we briefly exemplify below. They allow to use "regular" index structures, such as B- and R-trees, in the presence of nested collections and approximations. These structures are used, in particular, for indexing complex disjunctive and conjunctive constraints.

To understand the idea, consider the query "find all trajectories passing over the Fairfax county". It will be assumed here that a set of 4D aircraft trajectories as well as a map is stored in the database. We assume here that each trajectory has a piece-wise linear form, i.e., it is represented as a DC_LIN CST object.

n
Ú
i = 1
 
  (ti-1 £ t < ti Ù x = ai,1 t + bi,1 Ù y = ai,2 t + bi,2 Ù z = ai,3 t + bi,3)

where x,y,z are variables for a location, t is a time variable, and ti-1, ai,1,bi,1,ai,2, bi,2,ai,3,bi,3, 1 £ i £ n, are constants. Note that for each i, the C_LIN constraint (ti-1 £ t < ti Ùx = ai,1 t + bi,1 Ùy = ai,2 t + bi,2 Ùz = ai,3 t + bi,3) describes the movement equations for the time interval [ti-1,ti), for the constant 3-D velocity vector (ai,1,ai,2,ai,3), starting from the point (bi,1,bi,2,bi,3).


presentation created by Victor E. Segal