public interface IProductionConsumptionKnowledge
| Modifier and Type | Method and Description |
|---|---|
List<ICity> |
findCitiesWithNeedMinimalDistance(ICity distanceToCity,
IWare ware)
Find cities that need the
ware and order them based on the need and the distance. |
List<ICity> |
findListWithProductionsMinimalDistance(ICity distanceToCity,
IWare ware)
Find cities that produce the ware and order them based on production amount and
distance.
|
ICityProductionConsumptionKnowledge |
getKnowlege(ICity city)
Retrieve the knowledge for a city.
|
void |
updateKnowledge(ICity city)
Update the knowledge of the city.
|
void updateKnowledge(ICity city)
city - for which the knowledge should be updated.ICityProductionConsumptionKnowledge getKnowlege(ICity city)
city - List<ICity> findListWithProductionsMinimalDistance(ICity distanceToCity, IWare ware)
distanceToCity - city to which the producing city's distance should be considered.ware - that should be produced.List<ICity> findCitiesWithNeedMinimalDistance(ICity distanceToCity, IWare ware)
ware and order them based on the need and the distance.distanceToCity - city to which the consuming city's distance should be considered.ware - that should be consumedCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.