Window functions algorithm

This algorithm is used in evaluating OLAP queries that use window functions.

For more information, see , and .