01_user_documentation:07_rgg_xl:02_xl:03_query:01_predicate:02_path:04_binary
Binary
Binary predicates for path patterns are boolean methods that takes two Nodes as arguments. The method is tested against the two nodes left and right in the query when used as predicate. The two nodes do not have to be directly connected.
Example
module Organ(int age); boolean t(Organ a, Organ b){ return a[age] < b[age]; } public void run () [ o:Organ -t-> i:Node ::>; ]
01_user_documentation/07_rgg_xl/02_xl/03_query/01_predicate/02_path/04_binary.txt · Last modified: 2025/08/22 15:03 by gaetan
