Package net.commerce.zocalo.experiment

This package contains the classes that configure Zocalo to support experiments.

See:
          Description

Interface Summary
ExperimentSubject Interface for experiment subjects.
PrintStringAdaptor  
 

Class Summary
ExperimentServer Attempt at a super class for Experiment sessions; not currently in use.
ExperimentServer.ExperimentBayeuxService  
JudgingSession supports experiments in which one set of subjects doesn't trade, and is responsible for guessing the value of the traded commodity on the basis of the trading history.
LendingSession Session for experiments in which we lend to subjects based Mark-to-market valuations.
ScoreExplanationAccumulator collect matched HTML header, log labels and values for experiment scoring so we'll be able to print htmlTables or log the info.
Session Manage a session of an experiment.
SessionSingleton Provides access to a single instance of Session.
VotingSession VotingSession supports an experiment in which the traders vote on a message to be displayed to all traders in a subsequent round.
 

Exception Summary
ScoreException  
 

Package net.commerce.zocalo.experiment Description

This package contains the classes that configure Zocalo to support experiments. The experimental subjects are represented by the interface ExperimentSubject, the abstract class AbstractSubject, Judge (which represents judges, who do not trade), and TradingSubject, the base class for Manipulator and Trader.

Session supports experimental sessions configured by reading a property file. PropertyHelper has support for reading property files, and PropertyKeywords defines tokens found in those files. SessionSingleton applies the Singleton pattern to Sessions, ensuring there is only one session object at a time.


© Copyright 2007, 2008 Chris Hibbert. All rights reserved.
© 2006 CommerceNet Consortium, LLC.

This software is published under the terms of the MIT license, a copy
of which has been included with this distribution in the LICENSE file.