code: public Analysis<SolutionType> setNumRuns(String searchID, int n){
          if(!searches.containsKey(searchID)){
              throw new UnknownIDException("No search with ID " + searchID + " has been added.");
          }
          if(n <= 0){
              throw new IllegalArgumentException("Number of runs should be strictly positive.");
          }
          searchNumRuns.put(searchID, n);
          return this;
      }
docs: Set the number of runs to be performed for the given search. This does not affect the number
  of runs of the other searches. Returns a reference to the analysis object on which this method
  was called so that methods can be chained.
  
  @param searchID ID of the search
  @param n number of runs to be performed for this specific search
  @return reference to the analysis object on which this method was called
  @throws UnknownIDException if no search with this ID has been added
  @throws IllegalArgumentException if <code>n</code> is not strictly positive