docs / it.uniroma3.dbtree / DBTree / rangeQuery

rangeQuery

fun rangeQuery(range: Pair<K, K>): D? (source)

Algorithm for performing an aggregate range query on the DB-tree.

The algorithm accepts as input the range <k',k">. Neither k' nor k" must be explicitly contained in the DB-tree T. The algorithm computes the aggregate value for the values of all keys between k' and k" in T.

Parameters

range - the input range.

Return
the aggregate result of the range query.