org.jscience.psychology.experimental
Class Experiment

java.lang.Object
  extended by org.jscience.sociology.Situation
      extended by org.jscience.psychology.experimental.Experiment
All Implemented Interfaces:
Commented, Named

public class Experiment
extends Situation

A class representing a psychology experiment (whether for cognitive psychology or social psychology).


Constructor Summary
Experiment(java.lang.String name, java.lang.String comments)
          Creates a new Experiment object.
 
Method Summary
 void addSubject(Individual individual, java.util.Vector tasks)
          DOCUMENT ME!
 int getNumSubjects()
          DOCUMENT ME!
 java.util.Set getSubjects()
          DOCUMENT ME!
 java.util.Set getTasks()
          DOCUMENT ME!
 boolean isExperimentComplete()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.sociology.Situation
addRole, addRole, getComments, getIndividuals, getName, getRoles, removeRole, setRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Experiment

public Experiment(java.lang.String name,
                  java.lang.String comments)
Creates a new Experiment object.

Parameters:
name - DOCUMENT ME!
comments - DOCUMENT ME!
Method Detail

getSubjects

public java.util.Set getSubjects()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getNumSubjects

public int getNumSubjects()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addSubject

public void addSubject(Individual individual,
                       java.util.Vector tasks)
DOCUMENT ME!

Parameters:
individual - DOCUMENT ME!
tasks - DOCUMENT ME!

isExperimentComplete

public boolean isExperimentComplete()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTasks

public java.util.Set getTasks()
DOCUMENT ME!

Returns:
DOCUMENT ME!