|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGUISwarmImpl
ObserverSwarm
ObserverSwarm.java The observer swarm is collection of objects that are used to run and observe the ModelSwarm that actually comprises the simulation.
Field Summary | |
EZGraphImpl |
agentWealth
our graphics or EZGraph output to files |
EZGraphImpl |
agentWealthGraph
our graphics or EZGraph output to files |
EZGraphImpl |
bidAskSpreadGraph
our graphics or EZGraph output to files |
EZGraphImpl |
bookLogGraph
our graphics or EZGraph output to files |
EZGraphImpl |
currentBidAskSpreadFile
our graphics or EZGraph output to files |
EZGraphImpl |
currentBuyFirstLastSpreadFile
our graphics or EZGraph output to files |
EZGraphImpl |
currentQuantitySpreadFile
our graphics or EZGraph output to files |
EZGraphImpl |
currentSellFirstLastSpreadFile
our graphics or EZGraph output to files |
ActionGroupImpl |
displayActions
two ActionGroup for sequence of GUI events |
int |
displayFrequency
Update frequency. |
int |
displayPreviousDayMean
To create file and represent previous day mean price. |
ScheduleImpl |
displaySchedule
the single Schedule instance |
EZGraphImpl |
firstLastSpreadGraph
our graphics or EZGraph output to files |
EZGraphImpl |
maxWealthAllFile
our graphics or EZGraph output to files |
EZGraphImpl |
maxWealthLocallyImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
maxWealthMarketImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
maxWealthRandomFile
our graphics or EZGraph output to files |
EZGraphImpl |
maxWealthStopLossFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanPriceFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanWealthAllFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanWealthLocallyImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanWealthMarketImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanWealthRandomFile
our graphics or EZGraph output to files |
EZGraphImpl |
meanWealthStopLossFile
our graphics or EZGraph output to files |
EZGraphImpl |
minWealthAllFile
our graphics or EZGraph output to files |
EZGraphImpl |
minWealthLocallyImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
minWealthMarketImitatingFile
our graphics or EZGraph output to files |
EZGraphImpl |
minWealthRandomFile
our graphics or EZGraph output to files |
EZGraphImpl |
minWealthStopLossFile
our graphics or EZGraph output to files |
ModelSwarm |
modelSwarm
the ModelSwarm we are observing |
EZGraphImpl |
priceFile
our graphics or EZGraph output to files |
EZGraphImpl |
priceGraph
our graphics or EZGraph output to files |
EZGraphImpl |
quantitySpreadGraph
our graphics or EZGraph output to files |
int |
saveAgentWealthData
To save agent's wealth data. |
int |
saveBidAskSpreadData
To save spread data between first bid and first ask price. |
int |
saveBookLogData
To save book data. |
int |
saveBuySellFirstLastSpreadData
To save spread data between the first and the last price in the two side. |
int |
saveBuySellQuantitySpreadData
To save spread data between quantities in sell and buy side. |
int |
savePriceData
To save on a file the price data. |
EZGraphImpl |
sharesInBuySideBeforeOpeningFile
our graphics or EZGraph output to files |
EZGraphImpl |
sharesInBuySideFile
our graphics or EZGraph output to files |
EZGraphImpl |
sharesInSellSideBeforeOpeningFile
our graphics or EZGraph output to files |
EZGraphImpl |
sharesInSellSideFile
our graphics or EZGraph output to files |
int |
showAgentWealthGraph
To show agent's wealth graph. |
int |
showBidAskSpreadGraph
To show spread graph between first bid and first ask price. |
int |
showBookLogGraph
To show book graph. |
int |
showBuySellFirstLastSpreadGraph
To show spread graph between the first and the last price in the two side. |
int |
showBuySellQuantitySpreadGraph
To show spread graph between quantities in sell and buy side. |
int |
showBuySellSharesNumberBeforeOpening
To show the number of shares in the two side before opening. |
int |
stopAtDayNumber
To stop simulation at the end of a day. |
Book |
theBook
The book of the simulation. |
Constructor Summary | |
ObserverSwarm(Zone aZone)
Constructor for a new ObserverSwarm. |
Method Summary | |
Activity |
activateIn(Swarm swarmContext)
Activate the schedules so that they are ready to run. |
java.lang.Object |
buildActions()
Create the actions necessary for the simulation. |
java.lang.Object |
buildObjects()
Create the objects used to display the model. |
void |
checkToStop()
To check for the stopping conditions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int displayFrequency
public int stopAtDayNumber
public int savePriceData
public int displayPreviousDayMean
public int showBookLogGraph
public int saveBookLogData
public int showAgentWealthGraph
public int saveAgentWealthData
public int showBidAskSpreadGraph
public int saveBidAskSpreadData
public int showBuySellQuantitySpreadGraph
public int saveBuySellQuantitySpreadData
public int showBuySellFirstLastSpreadGraph
public int saveBuySellFirstLastSpreadData
public int showBuySellSharesNumberBeforeOpening
public ModelSwarm modelSwarm
public ScheduleImpl displaySchedule
public Book theBook
public ActionGroupImpl displayActions
public EZGraphImpl priceGraph
public EZGraphImpl priceFile
public EZGraphImpl bookLogGraph
public EZGraphImpl agentWealth
public EZGraphImpl agentWealthGraph
public EZGraphImpl sharesInSellSideFile
public EZGraphImpl sharesInBuySideFile
public EZGraphImpl minWealthAllFile
public EZGraphImpl meanWealthAllFile
public EZGraphImpl maxWealthAllFile
public EZGraphImpl minWealthRandomFile
public EZGraphImpl meanWealthRandomFile
public EZGraphImpl maxWealthRandomFile
public EZGraphImpl minWealthMarketImitatingFile
public EZGraphImpl meanWealthMarketImitatingFile
public EZGraphImpl maxWealthMarketImitatingFile
public EZGraphImpl minWealthLocallyImitatingFile
public EZGraphImpl meanWealthLocallyImitatingFile
public EZGraphImpl maxWealthLocallyImitatingFile
public EZGraphImpl minWealthStopLossFile
public EZGraphImpl meanWealthStopLossFile
public EZGraphImpl maxWealthStopLossFile
public EZGraphImpl meanPriceFile
public EZGraphImpl bidAskSpreadGraph
public EZGraphImpl currentBidAskSpreadFile
public EZGraphImpl sharesInBuySideBeforeOpeningFile
public EZGraphImpl sharesInSellSideBeforeOpeningFile
public EZGraphImpl quantitySpreadGraph
public EZGraphImpl currentQuantitySpreadFile
public EZGraphImpl firstLastSpreadGraph
public EZGraphImpl currentBuyFirstLastSpreadFile
public EZGraphImpl currentSellFirstLastSpreadFile
Constructor Detail |
public ObserverSwarm(Zone aZone)
Method Detail |
public java.lang.Object buildObjects()
public java.lang.Object buildActions()
public Activity activateIn(Swarm swarmContext)
public void checkToStop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |