Package | Description |
---|---|
be.ac.ulb.infof307.g02.models |
Modifier and Type | Method and Description |
---|---|
private Shop |
BestTourFinder.findBestShopForProduct(java.util.Set<Shop> solution,
java.util.Set<Shop> remainingShops,
ProductAmount productAmount)
Finds the best shop to buy the given product.
|
private void |
BestTourFinder.searchForBestTour()
Finds the best shops to buy all the products in the grocery list.
|
Constructor and Description |
---|
BestTourFinder(Position startPos,
Position endPos,
java.util.List<Shop> shops,
GroceryList groceryList)
Constructor that finds the best tour to buy all the products in the grocery list
among the given shops that starts at the startPos and ends at endPos.
|