|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swarm.BaseImpl | +--swarm.objectbase.SwarmImpl | +--VEFrameModelSwarm
The Model contains the Units and all the related tools, like the warehouses which are necessary to deal with the inventories or the newses
Field Summary | |
MyWriter |
concludedOrderLog
the log of the concluded orders |
swarm.collections.ListImpl |
endUnitList
the list of the end units |
int |
infDeepness
how deep information are propagated (how many steps we examine after the current production phase) |
InformationRuleMaster |
informationRuleMaster
the informationRuleMaster managing newses |
int |
inventoryEvaluationCriterion
the inventory evaluation criterion |
float |
inventoryFinancialRate
the yearly rate used to evaluate the financial costs of inventories |
InventoryRuleMaster |
inventoryRuleMaster
the inventoryRuleMaster managing inventories |
int |
maxInWarehouses
the max inventory quantity in a warehouse |
int |
maxStepLength
the max length of a step in a recipe (in units of time or ticks) |
int |
maxStepNumber
the max number of steps to be done to complete an order |
int |
minInWarehouses
the min inventory quantity in a warehouse |
swarm.activity.ActionGroup |
modelActions1
ActionGroup for holding an ordered sequence of action |
swarm.activity.ActionGroup |
modelActions2
ActionGroup for holding an ordered sequence of action |
swarm.activity.ActionGroup |
modelActions2b
ActionGroup for holding an ordered sequence of action |
swarm.activity.ActionGroup |
modelActions2distiller
ActionGroup for holding an ordered sequence of action |
swarm.activity.ActionGroup |
modelActions2generator
ActionGroup for holding an ordered sequence of action |
swarm.activity.ActionGroup |
modelActions3
ActionGroup for holding an ordered sequence of action |
swarm.activity.Schedule |
modelSchedule
the Schedule operating in the Model |
int |
nOfNewsesToBeCleared
the number of newses to be cleared after the decision of producing to increase inventories (a simple choice is to have it equal to nOfNewsesToProduce) |
int |
nOfNewsesToProduce
the number of newses necessary to decide the production of inventories |
int |
nOfOrdersInNewses
the number of orders for which newses are propagated by a unit |
int |
orCriterion
the criterion used dealing with 'or' sequences |
OrderDistiller |
orderDistiller
the order distiller, using archives of recipes and of order sequences to generate the simulated events |
OrderGenerator |
orderGenerator
the order generator, to be replaced by the order distiller or in the future by more sophisticated structures (swarms of enterprises etc.) |
swarm.collections.ListImpl |
orderList
the whole list of the orders (not yet finished) |
swarm.collections.ListImpl |
procurementAssemblerList
the list of procurementAssembler units linked to normal unit; proc. ass. units have in charge the task of making the procurement |
float |
revenuePerEachRecipeStep
the estimate of the revenue of the enterprise per each recipe step done in a semi manufactured order |
swarm.collections.ListImpl |
sequentialBatchAssemblerList
the list of sequentialBatchAssembler units linked to normal unit |
swarm.collections.ListImpl |
standAloneBatchAssemblerList
the list of standAloneBatchAssembler units linked to normal unit |
int |
ticksInATimeUnit
the number of ticks of the clock in a day; at each tick a unit of each step in recipes is done |
int |
totalEndUnitNumber
the total number of end units we are using; and endUnit represents an actual or virtual warehouse were we can "find" components internallly produced using sub-recipes or external procurements; each endUnit has a code which is the same used to conclude (as an 'end') the recipe describing this internal or external production |
int |
totalProductionTime
the total production time used by done orders |
int |
totalRecipeLength
the total length of the recipes of the done orders |
int |
totalUnitNumber
the total number of operating Units we are using |
int |
unitCriterion
the criterion used to choose the subsequent unit when more the one unit is able to perform the required task |
swarm.collections.ListImpl |
unitList
the list of the operating units |
UnitParameters |
unitParameters
the input class for unit parameters |
boolean |
useNewses
choosing if we use or not newses |
boolean |
useOrderDistiller
use the order distiller instead of the order generator |
boolean |
useWarehouses
choosing if we use or not warehouses (and inventories) |
swarm.collections.ListImpl |
warehouseList
the list of the warehouses |
Constructor Summary | |
VEFrameModelSwarm(swarm.defobj.Zone aZone)
|
Method Summary | |
swarm.activity.Activity |
activateIn(swarm.objectbase.Swarm swarmContext)
Now set up the model's activation. swarmContext indicates where we're being started in - typically, this model is run as a subswarm of an observer swarm. |
java.lang.Object |
buildActions()
Here is where the model schedule is built, the data structures that define the simulation of time in the model. |
java.lang.Object |
buildObjects()
Build the model objects. |
float |
getBenefit()
the benefit of the enterprise |
float |
getInventoryEvaluationCriterion()
the evaluation criterion for inventories |
float |
getInventoryFinancialRate()
the financial rate |
java.lang.Object |
getOrderList()
the method returns the list of the orders |
float |
getRevenuePerEachRecipeStep()
the revenue for each recipe step |
int |
getTicksInATimeUnit()
the number of ticks in a day |
float |
getTimeLengthRatio()
report the ratio totalProductionTime/totalRecipeLength |
java.lang.Object |
getUnitList()
the method returns the list of the units |
boolean |
getUseWarehouses()
this get method returns true if warehouses are used, false otherwise |
java.lang.Object |
getWarehouseList()
the method returns the list of the warehouses |
void |
setProductionTimeAndRecipeLength(int pt,
int rl)
record total production time and total recipe length |
Methods inherited from class swarm.objectbase.SwarmImpl |
allocIVars, allocIVarsComponent, compare, copyIVars, copyIVarsComponent, describe, describeForEach, describeForEachID, describeID, drop, freeIVars, freeIVarsComponent, getActivity, getCompleteProbeMap, getComponentZone, getDisplayName, getInternalZone, getName, getPageSize, getPopulation, getProbeForVariable, getProbeMap, getSynchronizationType, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int ticksInATimeUnit
public int totalUnitNumber
public int totalEndUnitNumber
public int maxStepNumber
public int maxStepLength
public int maxInWarehouses
public int minInWarehouses
public boolean useWarehouses
public boolean useNewses
public int infDeepness
public float revenuePerEachRecipeStep
public float inventoryFinancialRate
public int nOfNewsesToProduce
public int nOfNewsesToBeCleared
public int nOfOrdersInNewses
public int inventoryEvaluationCriterion
public int totalProductionTime
public int totalRecipeLength
public OrderGenerator orderGenerator
public boolean useOrderDistiller
public OrderDistiller orderDistiller
public swarm.activity.ActionGroup modelActions1
public swarm.activity.ActionGroup modelActions2
public swarm.activity.ActionGroup modelActions2b
public swarm.activity.ActionGroup modelActions2generator
public swarm.activity.ActionGroup modelActions2distiller
public swarm.activity.ActionGroup modelActions3
public swarm.activity.Schedule modelSchedule
public InventoryRuleMaster inventoryRuleMaster
public InformationRuleMaster informationRuleMaster
public UnitParameters unitParameters
public swarm.collections.ListImpl unitList
public swarm.collections.ListImpl warehouseList
public swarm.collections.ListImpl orderList
public swarm.collections.ListImpl endUnitList
public swarm.collections.ListImpl procurementAssemblerList
public swarm.collections.ListImpl standAloneBatchAssemblerList
public swarm.collections.ListImpl sequentialBatchAssemblerList
public MyWriter concludedOrderLog
public int orCriterion
public int unitCriterion
Constructor Detail |
public VEFrameModelSwarm(swarm.defobj.Zone aZone)
Method Detail |
public java.lang.Object buildObjects()
buildObjects
in class swarm.objectbase.SwarmImpl
public java.lang.Object buildActions()
buildActions
in class swarm.objectbase.SwarmImpl
public swarm.activity.Activity activateIn(swarm.objectbase.Swarm swarmContext)
activateIn
in class swarm.objectbase.SwarmImpl
public java.lang.Object getUnitList()
public java.lang.Object getWarehouseList()
public java.lang.Object getOrderList()
public boolean getUseWarehouses()
public void setProductionTimeAndRecipeLength(int pt, int rl)
public float getTimeLengthRatio()
public float getInventoryFinancialRate()
public float getInventoryEvaluationCriterion()
public float getRevenuePerEachRecipeStep()
public int getTicksInATimeUnit()
public float getBenefit()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |