@param curBest the value of curBest @param nCat the value of nCat @param catF the value of catF @param numF the value of numF
(int curBest, int nCat, Set<Integer> catF, Set<Integer> numF)
| 178 | * @param numF the value of numF |
| 179 | */ |
| 180 | static protected void addFeature(int curBest, int nCat, Set<Integer> catF, Set<Integer> numF) |
| 181 | { |
| 182 | if(curBest >= nCat) |
| 183 | numF.add(curBest-nCat); |
| 184 | else |
| 185 | catF.add(curBest); |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * |
no test coverage detected