public float calculate(List<Book> liste) {
		float result = 0f;

		try {
			List<BundleBook> listBundleBook = new ArrayList<BundleBook>();

			for (Book bookActu : liste) {
				boolean inserted = false;
				for (BundleBook bundleActu : listBundleBook) {
					if (!bundleActu.contains(bookActu)) {
						bundleActu.addBook(bookActu);
						inserted = true;
						break;
					}
				}
				if (!inserted) {
					BundleBook newBundle = new BundleBook();
					newBundle.addBook(bookActu);
					listBundleBook.add(newBundle);
				}
			}

			for (BundleBook bundleActu : listBundleBook) {
				result += bundleActu.calculate();
			}
			
		} catch (Exception e) {
			System.err.println("Erreur lors du calcul");
			e.printStackTrace();
		}

		return result;
	}