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());
FsmwModeFinder3d * clone() const override
ret
prodAgent to be discontinued
GlobalPoint operator()(const std::vector< PointAndDistance > &) const override
FsmwModeFinder3d(float fraction=.5, float weightExponent=-2., float cutoff=10, int no_weights_above=10)
Power< A, B >::type pow(const A &a, const B &b)