|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.game.GameGlobalData
The GameGlobalData contains all the data of the game, e.g. the products and
actors. Furthermore it takes care of providing game-wide statistics.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
Field Summary | |
static java.lang.String |
CONTEXT_NAME
the name of this object in the context |
Constructor Summary | |
GameGlobalData(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
constructs a new GlobalSupplyChainData |
Method Summary | |
void |
addProduct(nl.tudelft.simulation.supplychain.product.Product product)
|
void |
addSupplyChainActor(nl.tudelft.simulation.supplychain.actor.SupplyChainActor actor,
java.lang.String actorType,
boolean interactive)
|
nl.tudelft.simulation.supplychain.product.Product |
getProduct(java.lang.String name)
|
java.util.Collection |
getProducts()
|
nl.tudelft.simulation.supplychain.actor.SupplyChainActor |
getSupplyChainActor(java.lang.String name)
|
java.util.Collection |
getSupplyChainActors()
|
YellowPage |
getYellowPage()
|
protected void |
printBalanceSheet()
Prints a balance sheet to the output stream |
protected void |
printTally()
Prints a tally to the output stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONTEXT_NAME
Constructor Detail |
public GameGlobalData(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
simulator
- the simulator to useMethod Detail |
public void addProduct(nl.tudelft.simulation.supplychain.product.Product product)
product
- the product to addpublic nl.tudelft.simulation.supplychain.product.Product getProduct(java.lang.String name)
name
- the name of the product to get
public java.util.Collection getProducts()
public void addSupplyChainActor(nl.tudelft.simulation.supplychain.actor.SupplyChainActor actor, java.lang.String actorType, boolean interactive)
actor
- the actor to addactorType
- the type of the actorinteractive
- indicates whether the actor is human controlled or notpublic nl.tudelft.simulation.supplychain.actor.SupplyChainActor getSupplyChainActor(java.lang.String name)
name
- the name of the actor to get
public java.util.Collection getSupplyChainActors()
public YellowPage getYellowPage()
protected void printBalanceSheet()
protected void printTally()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |