Lines Matching defs:ctor
85 __valuector ctor) {
93 mean += deref(ctor(*k), j);
97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean;
118 int dim, __valuector ctor) {
121 median_partition(first, last, k, dim, ctor);
130 __valuector ctor;
132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) {
135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim);
141 __instype * k, int dim, __valuector ctor) {
147 (last[-1], dim, deref, ctor));
151 median_partition(middle + 1, last, k, dim, ctor);
153 median_partition(first, middle, k, dim, ctor);
158 int insert(__instype * first, __instype * last, __valuector ctor) {
163 int dim = dimension_of_highest_variance(first, last, ctor);
164 __instype *median = median_partition(first, last, dim, ctor);
167 for (; split != last && deref(ctor(*split), dim) ==
168 deref(ctor(*median), dim); ++split);
176 n.value = ctor(*split);
189 n.boundary = deref(ctor(*median), dim);
191 int left = insert(first, split, ctor);
193 int right = insert(split, last, ctor);
249 __valuector ctor, __deref _deref = __deref())
251 set_data(first, last, _point_dim, ctor);
263 __valuector ctor) {
267 root_node = insert(first, last, ctor);