edu.columbia.cs.coms4701.agent.events
Class AgentAddedEvent<K extends AgentAction,P extends AgentPercept,A extends Agent<K,P>>
java.lang.Object
java.util.EventObject
edu.columbia.cs.coms4701.agent.events.AgentEvent<K,P,A>
edu.columbia.cs.coms4701.agent.events.AgentAddedEvent<K,P,A>
- All Implemented Interfaces:
- java.io.Serializable
public class AgentAddedEvent<K extends AgentAction,P extends AgentPercept,A extends Agent<K,P>>
- extends AgentEvent<K,P,A>
Event indicating that an agent was added to an environment.
- Version:
- 0.1
User: aaron Date: Aug 24, 2006 Time: 4:00:31 PM
- Author:
- aaron@cs
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
AgentAddedEvent(java.lang.Object source,
A theAgent)
Creates a new AgentAddedEvent from the given: |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AgentAddedEvent
public AgentAddedEvent(java.lang.Object source,
A theAgent)
- Creates a new AgentAddedEvent from the given:
- Parameters:
source
- the Environment to which the agent was addedtheAgent
- the Agent that was added
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject