From: Dinesh K. <din...@ya...> - 2004-06-30 12:49:18
|
Hi All I am working on a market simulation for which I need to pass a number of parameters to repast. I am storing the parameter names in "params" array (member of MarketModel class) in a particular order so that related parameters appear together. params = new String[] {"NumProducers", "NumConsumers", "N", "WxMean", "Wxstdev" , "WyMean", "Wystdev", "WzMean", "Wzstdev" , "CMean", "Cstdev", "RMean", "Rstdev" , "TMean", "Tstdev", "lambdamean", "lambdastdev" , "PromoPmean", "PromoPstdev", "MuMin", "MuMax" , "MUI", "SF", "NP", "xMean" , "xstdev", "yMean", "ystdev", "zMean", "zstdev" , "WAMin", "WAMax", "WAI", "WPI" , "MP", "MN"}; But when I run the model, these parameters get sorted automatically in alphbetical order when displayed in "Model Parameters" window of RePast. Does anyone know why this happens and how can this be prevented? Thanks Dinesh ===== ****************************** Dinesh Kunchamwar email: kd...@gm... din...@ya... Mobile: +91 98496 97960 ****************************** __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail |