com.agentfactory.cldc.logic
Class Action

java.lang.Object
  extended by com.agentfactory.cldc.logic.Action
Direct Known Subclasses:
Actuator

public abstract class Action
extends java.lang.Object

In AFME, agents act on their enviroment through the use of actions (The Actuator class extends Action). Actions represent imperative code that the agent executes either within a plan or directly within a commitment when a belief sentence is evaluated to true.

Author:
Conor Muldoon

Constructor Summary
Action()
           
 
Method Summary
abstract  boolean act(FOS action)
          The act method is implemented by concrete classes of Action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

act

public abstract boolean act(FOS action)
The act method is implemented by concrete classes of Action. It provides the imperative functionality of the action.

Parameters:
action - the applied first order stucture, which matches with the identifier for the Actuator or Action.
Returns:
true if the action was successful, false otherwise.