User Tools

Site Tools


xl_programming_language:queries

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xl_programming_language:queries [2024/03/11 11:01] – created ksmolenxl_programming_language:queries [2024/03/11 11:05] (current) – [Examples] ksmolen
Line 13: Line 13:
 ===== Examples ===== ===== Examples =====
  
-  * Find all Internode nodes, and print them out: +  * Find all ''Internode'' nodes, and print them out: 
-''println((* Internode *))'' +''println( (* Internode *) )'' 
-  * Find all newly created Internode nodes (with age 0):+  * Find all newly created ''Internode'' nodes (with age 0):
 ''(* i:Internode, (i[age] == 0) *)'' ''(* i:Internode, (i[age] == 0) *)''
-  * Search for all Internode nodes with diameter greater than 0.01:+  * Search for all ''Internode'' nodes with diameter greater than 0.01:
 ''(* i:Internode, (i[diameter] > 0.01) *)'' ''(* i:Internode, (i[diameter] > 0.01) *)''
   * Find all pairs of segments ''F'' with distance smaller than 1:   * Find all pairs of segments ''F'' with distance smaller than 1:
-''(* f:F, g:F, ((f != g) && (distance(f, g) < 1)) *)'' +''(* f:F, g:F, ( (f != g) && (distance(f, g) < 1) ) *)'' 
-  * Find all Internode nodes, connected to a Leaf node with a branching edge:+  * Find all ''Internode'' nodes, connected to a ''Leaf'' node with a branching edge:
 ''(* Internode +> Leaf *)'' ''(* Internode +> Leaf *)''
xl_programming_language/queries.1710151311.txt.gz · Last modified: 2024/03/11 11:01 by ksmolen