public static ArrayList<ManuQuote> calculateQuotes(
      List<Blueprint> l,
      int runs,
      PriceDB pdb,
      BlueprintDB bdb,
      Preferences prefs,
      MatAcquirePriority mPrio) {

    ArrayList<ManuQuote> ans = new ArrayList<>();
    for (Blueprint b : l) {
      // Set choice to null since it's N/A for more than one.
      ans.add(QuoteCalculator.calculateQuote(b, runs, null, pdb, bdb, prefs, mPrio));
    }
    return ans;
  }
  public static ArrayList<ManuQuote> calculateGenericQuotes(
      List<Blueprint> l,
      int runs,
      PriceDB pdb,
      ItemDB idb,
      BlueprintDB bdb,
      TechDB tdb,
      Preferences prefs,
      MatAcquirePriority mPrio,
      InvPriority iPrio,
      RevPriority rPrio) {

    // Calculate quotes but choose calculation method.
    ArrayList<ManuQuote> ans = new ArrayList<>();
    for (Blueprint b : l) {
      // Set choice to null since it's N/A for more than one.
      ans.add(
          QuoteCalculator.calculateGenericQuote(
              b, runs, null, pdb, idb, bdb, tdb, prefs, mPrio, iPrio, rPrio));
    }
    return ans;
  }
 public static ArrayList<ManuQuote> calculateReverseEngineeringQuotes(
     ArrayList<Blueprint> l,
     int runs,
     PriceDB pdb,
     BlueprintDB bdb,
     ItemDB idb,
     Preferences prefs,
     RevPriority rPrio,
     MatAcquirePriority mPrio) {
   ArrayList<ManuQuote> ans = new ArrayList<>();
   ManuQuote tmp;
   for (Blueprint b : l) {
     // Set choice to null since it's N/A for more than one.
     tmp =
         QuoteCalculator.calculateReverseEngineeringQuote(
             b, runs, null, pdb, bdb, idb, prefs, rPrio, mPrio);
     // Only include if valid.
     if (tmp != null) {
       ans.add(tmp);
     }
   }
   return ans;
 }
 public static ArrayList<ManuQuote> calculateInventionQuotes(
     List<Blueprint> l,
     int runs,
     PriceDB pdb,
     TechDB tdb,
     BlueprintDB bdb,
     Preferences prefs,
     InvPriority iPrio,
     MatAcquirePriority mPrio) {
   ManuQuote tmp;
   ArrayList<ManuQuote> ans = new ArrayList<>();
   for (Blueprint b : l) {
     // Set choice to null since it's N/A for more than one.
     tmp =
         QuoteCalculator.calculateInventionQuote(
             b, runs, null, pdb, tdb, bdb, prefs, iPrio, mPrio);
     // Only include if valid.
     if (tmp != null) {
       ans.add(tmp);
     }
   }
   return ans;
 }