18 std::vector<float> score_array;
23 float score = algo->Priority(cluster);
27 score_array.push_back(score);
30 float score_result = 0;
34 case kLastAlgo: score_result = (*score_array.rbegin());
break;
39 for (
auto const& score : score_array)
40 score_result += score;
45 for (
auto const& score : score_array)
46 score_result *= score;
Cluster finding and building.
Class def header for a class CPAlgoArray.