groimp-platform:xl-operators
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| groimp-platform:xl-operators [2024/05/02 10:12] – [Other] TimOb | groimp-platform:xl-operators [2025/01/10 15:08] (current) – [Pattern predicates] gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | XL-Operators are designed to simplify the usage of XL queries and rewriting rules. Moreover these operators | + | ===== Production |
| - | In the following the operators a separated into Analytical and selection operators to either get a value for analysis or a node/ a collection of nodes for rewriting. | + | |
| - | ====== Analytical Operators ====== | + | Production operators are operators that can be used in a production statement. |
| - | | Command | description | example | | + | ==== Edge operators ==== |
| - | | min((*// | + | |
| - | | max((*// | + | |
| - | | sum((*// | + | |
| - | | prod((*// | + | |
| - | | count((*// | + | |
| - | | empty((*// | + | |
| - | | forall((*// | + | |
| - | | exist((*// | + | |
| - | + | | whitespace | |
| - | + | | > | connect node with previous by a successor edge | | |
| - | ====== Selection Operators ====== | + | | < | connect node with previous by a reverse successor edge | |
| - | + | | %%< | |
| - | | command | + | | %%---%% |
| - | | first((*// | + | | %%+>%%, %%<+%%, %%< |
| - | | last((*// | + | | %%/>%%, %%</%%, %%</>%%, %%-/-%% | as before, but refinement instead of successor edges | |
| - | |selectWhere((*// | + | | %%-e->%%, %%< |
| - | |selectWhereMin((*// | + | | %%-n->%% with a node-valued expression n | create a compound edge with n encoding the edge data | |
| - | |selectWhereMax((*// | + | | %%<-n-%% with a node-valued expression n | as before, but reverse direction |
| - | |selectRandomly((*//query//*) )| select a Random node from the query | selectRandomly((*F*) ) | | + | | [, ] | define the starts and the end of a branch connected subgraph |
| - | |selectRandomly((*// | + | |
| - | + | ||
| - | + | ||
| - | ====== Other ====== | + | |
| - | + | ||
| - | |command | + | |
| - | | array((*// | + | |
| - | | string((*// | + | |
groimp-platform/xl-operators.1714637524.txt.gz · Last modified: 2024/05/02 10:12 by TimOb
