Package net.commerce.zocalo.experiment.role

This package contains the classes that manage roles for experiments.

See:
          Description

Class Summary
AbstractSubject Abstract base class for experiment subjects.
Borrower  
BorrowerRole  
Judge Judge calculates scores for experiment participants playing this role.
JudgeRole JudgeRole indicates that Judges don't have accounts and aren't backed by users.
Manipulator Manipulators have special rules for calculating their score.
ManipulatorRole ManipulatorRole indicates that Manipulators are only used when Judges are present.
Role Roles describe how to initialize subjects playing the various roles.
Trader Traders exchange goods in the market.
TraderRole TraderRole indicates that Traders are the normal case.
TradingSubject base class for subjects that trade: Traders and Manipulators.
 

Package net.commerce.zocalo.experiment.role Description

This package contains the classes that manage roles for 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.

The different roles that subjects may take on are represented by subclasses of Role. Each knows what information to read from the configuration file. Current roles include JudgeRole, ManipulatorRole, and TraderRole. Multiple Trader roles are allowed in an experiment. If Manipulators are present, there must also be Judges.

© Copyright 2008, 2009 Chris Hibbert. All rights reserved.

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.