Class SimpleSupplyManager
java.lang.Object
   SimpleSupplyManager
SimpleSupplyManager
- All Implemented Interfaces: 
- InterfaceSupplyManager
- public class SimpleSupplyManager 
- extends java.lang.Object- implements InterfaceSupplyManager
A very simple supply manager.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
numComponents
static final int numComponents
- See Also:
- Constant Field Values
inventoryGoal
static final int inventoryGoal
- See Also:
- Constant Field Values
maxDays
static final int maxDays
- See Also:
- Constant Field Values
SimpleSupplyManager
public SimpleSupplyManager()
sendRFQsToSuppliers
public void sendRFQsToSuppliers(GameSettings settings,
                                DailyInfo dayInfo,
                                AgentInfo agentInfo,
                                DailyActions actions)
- Sends RFQs to suppliers for needed components.  For each component,
 enough components are requested to bring the projected inventory at the
 end of ten days to a certain level.  Projected inventory equals expected
 deliveries plus current inventory minus projected use.  The due date and
 supplier are chosen based on what is expected to be cheapest.  Dates 
 between 6 and 10 days in the future are considered.  Zero-quantity RFQs
 are sent for those supplier-date pairs not chosen to improve
 predictions.  On the first day of the game, a fixed set of RFQs is sent.
 
- 
- Specified by:
- sendRFQsToSuppliersin interface- InterfaceSupplyManager
 
- 
 
respondToSupplierOffers
public void respondToSupplierOffers(GameSettings settings,
                                    DailyInfo dayInfo,
                                    AgentInfo agentInfo,
                                    DailyActions actions)
- Responds to offers from suppliers by accepting all of them.  In the case
 of alternative offers, the partial offer is accepted.
 
- 
- Specified by:
- respondToSupplierOffersin interface- InterfaceSupplyManager
 
-