|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.cldc.logic.Action
com.agentfactory.cldc.Actuator
com.agentfactory.cldc.ResourceActuator
public class ResourceActuator
The resource actuator is used for updating the amount of resources available to the agent. The trigger for the resource actuator is updateResource(?amount), where the ?amount variable represents the amount of resources available.
| Constructor Summary | |
|---|---|
ResourceActuator(AffectManager manager)
Creates an instance of ResourceActuator. |
|
| Method Summary | |
|---|---|
boolean |
act(FOS action)
The act method is implemented by concrete classes of Action. |
| Methods inherited from class com.agentfactory.cldc.Actuator |
|---|
adoptBelief, adoptBelief, register, retractBelief |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceActuator(AffectManager manager)
manager - the affect manager for the agent.| Method Detail |
|---|
public boolean act(FOS action)
Action
act in class Actionaction - the applied first order stucture, which matches with the identifier for
the Actuator or Action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||