net.sourceforge.jasa.agent
Class AgentGroup
java.lang.Object
net.sourceforge.jasa.agent.AgentGroup
- All Implemented Interfaces:
- java.io.Serializable
public class AgentGroup
- extends java.lang.Object
- implements java.io.Serializable
A class representing an arbitrary grouping of agents. Every agent can
optionally belong to a group. This is useful for reporting purposes; for
example, agents can be grouped according to what kind of strategy they use
and then the net.sourceforge.jasa.report.PayoffLogger class can be used to historicalDataReport
on the payoff to each kind of strategy.
- See Also:
- Serialized Form
-
-

Constructor Summary |
AgentGroup(java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
description
protected java.lang.String description
MAX_GROUPS
public static final int MAX_GROUPS
- See Also:
- Constant Field Values
AgentGroup
public AgentGroup(java.lang.String description)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDescription
public java.lang.String getDescription()
getAgentGroup
public static AgentGroup getAgentGroup(int n)
- Get group n