11 : theFraction(
fraction), theWeightExponent(weightExp), theCutoff(
cutoff), theNoWeightsAbove(no_w_a) {
17 std::vector<SimpleCluster> vx, vy, vz;
18 vx.reserve(
values.size() - 1);
19 vy.reserve(
values.size() - 1);
20 vz.reserve(
values.size() - 1);
21 std::vector<const void*> emptyvec;
23 for (std::vector<PointAndDistance>::const_iterator
i =
values.begin();
i !=
values.end(); ++
i) {
40 std::vector<SimpleCluster> cresx =
algo(vx).first;
41 std::vector<SimpleCluster> cresy =
algo(vy).first;
42 std::vector<SimpleCluster> cresz =
algo(vz).first;
43 assert(!cresx.empty() && !cresy.empty() && !cresz.empty());
46 cresx.begin()->position().value(), cresy.begin()->position().value(), cresz.begin()->position().value());