[virtualcommons-svn] commit/foraging: alllee: removing 3d data processing
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2012-02-27 06:19:29
|
1 new commit in foraging: https://bitbucket.org/virtualcommons/foraging/changeset/26d91b7a0df0/ changeset: 26d91b7a0df0 branch: asu-foraging-2012 user: alllee date: 2012-02-27 06:49:34 summary: removing 3d data processing affected #: 1 file diff -r bfe5a1ea3b53d1cba35168c48c07ae0d88fe7db7 -r 26d91b7a0df07259b54fa5ad43bb1df695319a92 src/main/java/edu/asu/commons/foraging/data/AllDataProcessor.java --- a/src/main/java/edu/asu/commons/foraging/data/AllDataProcessor.java +++ b/src/main/java/edu/asu/commons/foraging/data/AllDataProcessor.java @@ -45,15 +45,10 @@ @Override public void process(SavedRoundData savedRoundData, PrintWriter writer) { RoundConfiguration roundConfiguration = (RoundConfiguration) savedRoundData.getRoundParameters(); - if (roundConfiguration.is2dExperiment()) { - processData2d(savedRoundData, writer); - } - else { - processData3d(savedRoundData, writer); - } + processData(savedRoundData, writer); } - private void processData2d(SavedRoundData savedRoundData, PrintWriter writer) { + private void processData(SavedRoundData savedRoundData, PrintWriter writer) { RoundConfiguration roundConfiguration = (RoundConfiguration) savedRoundData.getRoundParameters(); SortedSet<PersistableEvent> actions = savedRoundData.getActions(); ServerDataModel dataModel = (ServerDataModel) savedRoundData.getDataModel(); Repository URL: https://bitbucket.org/virtualcommons/foraging/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |