Invention Grant
- Patent Title: Recursive aggregates
- Patent Title (中): 递归聚合
-
Application No.: US14292581Application Date: 2014-05-30
-
Publication No.: US09015193B1Publication Date: 2015-04-21
- Inventor: Oege de Moor
- Applicant: Semmle Limited
- Applicant Address: GB
- Assignee: Semmle Limited
- Current Assignee: Semmle Limited
- Current Assignee Address: GB
- Agency: Fish & Richardson P.C.
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for expressing and evaluating aggregation functions, including aggregation functions in the context of recursive aggregates, in data languages that implement fixed point semantics. One of the methods includes receiving input specifying, explicitly or implicitly, an aggregation function agg having an input type and an output type, a relation s that has a domain and a range and that represents one or more entities to be aggregated over, and a relation t that is a relation from the range of s to the input type of the aggregation function agg; and evaluating an aggregation construct agg* to calculate a relation between the domain of s and the output type of the aggregation function agg according to agg*(s, t)={(m, agg(n))|∃d: (m,d)εs,nεπ{|t(y)|yεs(m)|}}.
Information query