Lines Matching refs:nEntry
47 proc balanced_exprtree_structure {nEntry} {
49 for {set i 1} {$i <= $nEntry} {incr i} {
65 proc balanced_and_tree {nEntry} {
66 set query [balanced_exprtree_structure $nEntry]
70 for {set i 1} {$i <= $nEntry} {incr i} {
76 proc random_tree_structure {nEntry bParen op} {
78 for {set i 1} {$i < $nEntry} {incr i} {
93 proc random_and_query {nEntry {bParen 0}} {
94 set query [random_tree_structure $nEntry $bParen AND]
95 for {set i 1} {$i <= $nEntry} {incr i} {
101 proc random_or_query {nEntry} {
102 set query [random_tree_structure $nEntry 1 OR]
103 for {set i 1} {$i <= $nEntry} {incr i} {
109 proc random_andor_query {nEntry} {
110 set query [random_tree_structure $nEntry 1 AND]
111 for {set i 1} {$i <= $nEntry} {incr i} {
112 regsub xxx $query "([random_or_query $nEntry])" query
117 proc balanced_andor_tree {nEntry} {
118 set tree [balanced_exprtree_structure $nEntry]
119 set node "{[balanced_and_tree $nEntry]}"