private Map<String, CloudOffer> getBenchmarkPlatforms(String benchmarkPlatformsYaml) {
      Map<String, CloudOffer> benchmarkPlatforms = YAMLmatchmakerToOptimizerParser
            .createBenchmarkPlatforms(openBenchmarkOffersDefaultFile());
      if (benchmarkPlatformsYaml != null) {
         benchmarkPlatforms.putAll(YAMLmatchmakerToOptimizerParser.createBenchmarkPlatforms(benchmarkPlatformsYaml));
      }

      return benchmarkPlatforms;
   }
private Map < String , CloudOffer > getBenchmarkPlatforms ( String benchmarkPlatformsYaml ) { Map < String , CloudOffer > benchmarkPlatforms = YAMLmatchmakerToOptimizerParser . createBenchmarkPlatforms ( openBenchmarkOffersDefaultFile ( ) ) ; if ( benchmarkPlatformsYaml != null ) { benchmarkPlatforms . putAll ( YAMLmatchmakerToOptimizerParser . createBenchmarkPlatforms ( benchmarkPlatformsYaml ) ) ; } return benchmarkPlatforms ; }
@param benchmarkPlatformsYaml
@return a Map of benchmark platforms containing both the default ones and
the obtained from the discoverer.