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

Both sides previous revisionPrevious revision
Next revision
Previous revision
xl_programming_language:queries [2024/03/11 11:03] – [Examples] ksmolenxl_programming_language:queries [2024/03/11 11:05] (current) – [Examples] ksmolen
Line 14: Line 14:
  
   * 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) *)''
Line 20: Line 20:
 ''(* 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.1710151434.txt.gz · Last modified: 2024/03/11 11:03 by ksmolen