@Override public Double compute( List<WildcardPattern> hhh, List<WildcardPattern> reportedHHH, int step, String folder) { double max = -1; for (WildcardPattern monitor : reportedHHH) { if (ignoreExact && monitor.getWildcardNum() == 0) { continue; } if (max < monitor.getWeight()) { max = monitor.getWeight(); } } if (max < 0) { return null; } return max; }