Inherited by Firm, and ImportExport.
Public Member Functions | |
double | getPrice () |
The price for which the agent is willing to sell one unit of good. | |
Sector | getProductionSector () |
The Sector in which the agent produces. | |
void | sell (double pQuantity) |
The agents sells pQuantity units of the good of the sector ISeller.getProductionSector. | |
Package Functions | |
double | getInventory () |
The actual inventory of the agent. | |
Classes | |
class | PriceComparator |
This Comparator can be used to sort sellers ascending to the price they want for one unit of the good they produce. |
Definition at line 15 of file ISeller.java.
double getInventory | ( | ) | [package] |
The actual inventory of the agent.
Implemented in Firm, and ImportExport.
Referenced by Suppliers.addExtraSeller().
double getPrice | ( | ) |
The price for which the agent is willing to sell one unit of good.
Implemented in Firm, and ImportExport.
Referenced by Suppliers.addExtraSeller(), Suppliers.addSeller(), Suppliers.buy(), Suppliers.buyValue(), Suppliers.getMostExpensiveSupplier(), Suppliers.replaceSeller(), and Suppliers.updateSuppliers().
Sector getProductionSector | ( | ) |
The Sector in which the agent produces.
Implemented in Firm, and ImportExport.
Referenced by Suppliers.addExtraSeller(), and Suppliers.addSeller().
void sell | ( | double | pQuantity | ) |
The agents sells pQuantity units of the good of the sector ISeller.getProductionSector.
Implemented in ImportExport.
Referenced by Suppliers.buy(), and Suppliers.buyValue().