[virtualcommons-svn] SF.net SVN: virtualcommons:[489] foraging/trunk/src/main
Status: Beta
Brought to you by:
alllee
From: <al...@us...> - 2010-03-10 19:05:20
|
Revision: 489 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=489&view=rev Author: alllee Date: 2010-03-10 19:05:12 +0000 (Wed, 10 Mar 2010) Log Message: ----------- minor updates to the active configuration files, changing the default initial distribution to 25% etc. Modified Paths: -------------- foraging/trunk/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java foraging/trunk/src/main/java/edu/asu/commons/foraging/model/ResourceDispenser.java foraging/trunk/src/main/resources/configuration/round4.xml foraging/trunk/src/main/resources/configuration/round5.xml foraging/trunk/src/main/resources/configuration/round6.xml Modified: foraging/trunk/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java =================================================================== --- foraging/trunk/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java 2010-03-10 18:35:34 UTC (rev 488) +++ foraging/trunk/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java 2010-03-10 19:05:12 UTC (rev 489) @@ -139,7 +139,7 @@ } public double getInitialDistribution() { - return getDoubleProperty("initial-distribution", 0.5d); + return getDoubleProperty("initial-distribution", 0.25d); } public Dimension getBoardSize() { Modified: foraging/trunk/src/main/java/edu/asu/commons/foraging/model/ResourceDispenser.java =================================================================== --- foraging/trunk/src/main/java/edu/asu/commons/foraging/model/ResourceDispenser.java 2010-03-10 18:35:34 UTC (rev 488) +++ foraging/trunk/src/main/java/edu/asu/commons/foraging/model/ResourceDispenser.java 2010-03-10 19:05:12 UTC (rev 489) @@ -345,6 +345,7 @@ this.rate = roundConfiguration.getRegrowthRate(); for (GroupDataModel group: serverDataModel.getGroups()) { Set<Resource> resources = generateInitialDistribution(group); + logger.info("density dependent resource generator initialized with " + resources.size() + " resources."); serverDataModel.addResources(group, resources); } // FIXME: is this necessary? Modified: foraging/trunk/src/main/resources/configuration/round4.xml =================================================================== --- foraging/trunk/src/main/resources/configuration/round4.xml 2010-03-10 18:35:34 UTC (rev 488) +++ foraging/trunk/src/main/resources/configuration/round4.xml 2010-03-10 19:05:12 UTC (rev 489) @@ -102,8 +102,7 @@ <p> You will see other participants labeled as "1", "2","3", "4", or "5" in the chat box. You can send a chat message by typing into the textfield at the -bottom of the screen and clicking the "send" button with your mouse or -pressing the "enter" key on your keyboard. +bottom of the screen and pressing the "enter" key on your keyboard. </p> ]]> </entry> Modified: foraging/trunk/src/main/resources/configuration/round5.xml =================================================================== --- foraging/trunk/src/main/resources/configuration/round5.xml 2010-03-10 18:35:34 UTC (rev 488) +++ foraging/trunk/src/main/resources/configuration/round5.xml 2010-03-10 19:05:12 UTC (rev 489) @@ -58,8 +58,7 @@ <p> You will see other participants labeled as "1", "2","3", "4", or "5" in the chat box. You can send a chat message by typing into the textfield at the -bottom of the screen and clicking the "send" button with your mouse or -pressing the "enter" key on your keyboard. +bottom of the screen and pressing the "enter" key on your keyboard. </p> ]]> </entry> Modified: foraging/trunk/src/main/resources/configuration/round6.xml =================================================================== --- foraging/trunk/src/main/resources/configuration/round6.xml 2010-03-10 18:35:34 UTC (rev 488) +++ foraging/trunk/src/main/resources/configuration/round6.xml 2010-03-10 19:05:12 UTC (rev 489) @@ -74,8 +74,7 @@ <p> You will see other participants labeled as "1", "2","3", "4", or "5" in the chat box. You can send a chat message by typing into the textfield at the -bottom of the screen and clicking the "send" button with your mouse or -pressing the "enter" key on your keyboard. </p> +bottom of the screen and pressing the "enter" key. </p> ]]> </entry> </properties> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |