org.jage.agent
Class ActionDrivenAgent
java.lang.Object
org.jage.property.AbstractPropertyContainer
org.jage.property.ClassPropertyContainer
org.jage.agent.AbstractAgent
org.jage.agent.SimpleAgent
org.jage.agent.ActionDrivenAgent
- All Implemented Interfaces:
- Serializable, IAgent, ISimpleAgent, IChangesNotifier, IStatefulComponent, IComponentInstanceProviderAware, IPropertyContainer
public class ActionDrivenAgent
- extends SimpleAgent
This agent implementation relies on a IActionPreparator
to provide its actual behavior.
Given the agent's state and environment, the IActionPreparator
prepares an appropriate action, which is then
run by the agent.
- Author:
- AGH AgE Team
- See Also:
- Serialized Form
Method Summary |
void |
step()
The main method of the agent. |
Methods inherited from class org.jage.agent.AbstractAgent |
deliverMessage, equals, finish, getAddress, getParentAddress, getProperty, hasAgentEnvironment, hashCode, init, queryEnvironment, queryParentEnvironment, receiveMessage, receiveMessage, setAddress, setInstanceProvider, toString |
Methods inherited from class org.jage.property.ClassPropertyContainer |
addFunction, addPropertyMonitor, addPropertyMonitor, attachMonitorsToProperties, getMetaProperties, getProperties, getPropertiesFactory, notifyMonitorsAboutDeletion, notifyMonitorsForChangedProperties, notifyMonitorsForChangedProperty, objectDeleted, removeFunction, removePropertyMonitor |
ActionDrivenAgent
public ActionDrivenAgent()
step
public void step()
- Description copied from interface:
ISimpleAgent
- The main method of the agent. Here the agent does all his work.
- Specified by:
step
in interface ISimpleAgent
- Specified by:
step
in class SimpleAgent
Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.