package fr.uge.concurrence;

import java.util.*;
import java.util.concurrent.*;
import java.util.stream.Collectors;

public class CheapestWithAllItems {
	private final int timeoutMilliPerRequest;
	private final int timeoutMilliGlobal;
	private final int poolSize;

	public CheapestWithAllItems(int timeoutMilliPerRequest, int poolSize, int timeoutMilliGlobal) {
		this.timeoutMilliPerRequest = timeoutMilliPerRequest;
		this.timeoutMilliGlobal = timeoutMilliGlobal;
		this.poolSize = poolSize;
	}

	public List<Answer> retrieve(List<String> items) throws InterruptedException {
		// TODO
		return null;
	}

	public static void main(String[] args) {
		try {
			var aggregator = new CheapestWithAllItems(2_000, 10, 5_000);
			var answer = aggregator.retrieve(List.of("tortank", "pikachu", "evoli"));
			System.out.println(answer);
		} catch (InterruptedException e) {
			throw new AssertionError();
		}
	}
}