private List<JobSuggestedParamValue> getParamValueList(Particle particle, List<TuningParameter> paramList) {
    logger.debug("Particle is: " + Json.toJson(particle));
    List<JobSuggestedParamValue> jobSuggestedParamValueList = new ArrayList<JobSuggestedParamValue>();

    if (particle != null) {
      List<Double> candidate = particle.getCandidate();

      if (candidate != null) {
        logger.debug("Candidate is:" + Json.toJson(candidate));
        for (int i = 0; i < candidate.size() && i < paramList.size(); i++) {
          logger.info("Candidate is " + candidate);

          JobSuggestedParamValue jobSuggestedParamValue = new JobSuggestedParamValue();
          int paramId = paramList.get(i).id;
          jobSuggestedParamValue.tuningParameter = TuningParameter.find.byId(paramId);
          jobSuggestedParamValue.paramValue = candidate.get(i);
          jobSuggestedParamValueList.add(jobSuggestedParamValue);
        }
      } else {
        logger.info("Candidate is null");
      }
    } else {
      logger.info("Particle null");
    }
    return jobSuggestedParamValueList;
  }
Returns list of suggested parameters
@param particle Particle (configuration)
@param paramList Parameter List
@return Suggested Param Value List
app/com/linkedin/drelephant/tuning/ParamGenerator.java