11 #include <dqm_core/AlgorithmManager.h>
14 #include <dqm_core/Result.h>
15 #include <dqm_core/Parameter.h>
39 const dqm_core::ParametersMap & map)
42 dqm_core::ParametersMap::const_iterator iter;
59 for (iter=map.begin();iter!=map.end();++iter){
62 rweight+=iter->second->getWeight();
64 }
else if (
status==dqm_core::Result::Yellow) {
65 yweight+=iter->second->getWeight();
68 gweight+=iter->second->getWeight();
75 weight=rweight+yweight+gweight;
93 if (r_percent>=0.50 || (ry_percent >= 0.50 && r_percent>0)) {
95 }
else if (y_percent >= 0.50 || (r_percent>0.25 && r_percent<0.50)) {
96 newresult->status_=dqm_core::Result::Yellow;