| @@ 893-894 (lines=2) @@ | ||
| 890 | else |
|
| 891 | $count[$node->root]=1; |
|
| 892 | ||
| 893 | if(!isset($min[$node->root]) || $min[$node->root]>$node->lft) |
|
| 894 | $min[$node->root]=$node->lft; |
|
| 895 | ||
| 896 | if(!isset($max[$node->root]) || $max[$node->root]<$node->rgt) |
|
| 897 | $max[$node->root]=$node->rgt; |
|
| @@ 896-897 (lines=2) @@ | ||
| 893 | if(!isset($min[$node->root]) || $min[$node->root]>$node->lft) |
|
| 894 | $min[$node->root]=$node->lft; |
|
| 895 | ||
| 896 | if(!isset($max[$node->root]) || $max[$node->root]<$node->rgt) |
|
| 897 | $max[$node->root]=$node->rgt; |
|
| 898 | } |
|
| 899 | ||
| 900 | foreach($count as $root=>$c) |
|