public abstract class Action
extends java.lang.Object
public abstract State execute(Agent a, State s)
DESIGN NOTE: The choice to divide the state transformer into separate methods for each action is essentially one of modularity. We suggest that having each action "know" what its effects are is more natural than having the environment (or each state) know how states are changed by actions.