org.jscience.psychology.social
Class Group

java.lang.Object
  extended by org.jscience.biology.Population
      extended by org.jscience.psychology.social.Group
All Implemented Interfaces:
Positioned
Direct Known Subclasses:
Community, Family, HumanGroup

public class Group
extends Population

A class representing a group, that is a population seen from a psychological point of view. Includes a sociogram, that is a representation of the relations among a the individuals along time.


Constructor Summary
Group(Species species)
          Creates a new Group object.
Group(Species species, Place formalTerritory)
          Creates a new Group object.
 
Method Summary
 void addIndividual(Individual individual)
          DOCUMENT ME!
 Place getFormalTerritory()
          DOCUMENT ME!
 java.util.Set getLeaders()
          DOCUMENT ME!
 double getRelation(Individual individual1, Individual individual2)
          DOCUMENT ME!
 void removeIndividual(Individual individual)
          DOCUMENT ME!
 void setFormalTerritory(Place territory)
          DOCUMENT ME!
 void setIndividuals(java.util.Set individuals)
          DOCUMENT ME!
 void setLeaders(java.util.Set leaders)
          DOCUMENT ME!
 void setRelation(Individual individual1, Individual individual2, double value)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.biology.Population
getIndividuals, getPosition, getSpecies, getTerritory, isContained, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group(Species species)
Creates a new Group object.

Parameters:
species - DOCUMENT ME!

Group

public Group(Species species,
             Place formalTerritory)
Creates a new Group object.

Parameters:
species - DOCUMENT ME!
formalTerritory - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getFormalTerritory

public Place getFormalTerritory()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setFormalTerritory

public void setFormalTerritory(Place territory)
DOCUMENT ME!

Parameters:
territory - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getLeaders

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

Returns:
DOCUMENT ME!

setLeaders

public void setLeaders(java.util.Set leaders)
DOCUMENT ME!

Parameters:
leaders - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getRelation

public double getRelation(Individual individual1,
                          Individual individual2)
DOCUMENT ME!

Parameters:
individual1 - DOCUMENT ME!
individual2 - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

setRelation

public void setRelation(Individual individual1,
                        Individual individual2,
                        double value)
DOCUMENT ME!

Parameters:
individual1 - DOCUMENT ME!
individual2 - DOCUMENT ME!
value - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

setIndividuals

public void setIndividuals(java.util.Set individuals)
DOCUMENT ME!

Overrides:
setIndividuals in class Population
Parameters:
individuals - DOCUMENT ME!

addIndividual

public void addIndividual(Individual individual)
DOCUMENT ME!

Overrides:
addIndividual in class Population
Parameters:
individual - DOCUMENT ME!

removeIndividual

public void removeIndividual(Individual individual)
DOCUMENT ME!

Overrides:
removeIndividual in class Population
Parameters:
individual - DOCUMENT ME!