com.irs.jam
Class WorldModelAction

java.lang.Object
  |
  +--com.irs.jam.Action
        |
        +--com.irs.jam.WorldModelAction
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssertAction, FactAction, NextFactAction, RetractAction, RetrieveAction, RetrieveAllAction, UpdateAction

public abstract class WorldModelAction
extends Action
implements java.io.Serializable

A JAM primitive action modifying the JAM world model

See Also:
Serialized Form

Field Summary
protected  Interpreter _interpreter
           
protected  Relation _relation
           
 
Fields inherited from class com.irs.jam.Action
_actType, ACT_ACHIEVE, ACT_ASSERT, ACT_ASSIGN, ACT_CANNOT_EXECUTE, ACT_FACT, ACT_FAIL, ACT_FAILED, ACT_GOAL_ACTION, ACT_LOAD, ACT_MAINTAIN, ACT_OBJECT, ACT_PARSE, ACT_PERFORM, ACT_POST, ACT_PRIMITIVE, ACT_QUERY, ACT_RETRACT, ACT_RETRIEVE, ACT_SUCCEEDED, ACT_TEST, ACT_UNDEFINED, ACT_UNPOST, ACT_UPDATE, ACT_WAIT
 
Method Summary
 int execute(Binding b, Goal currentGoal)
          Perform the necessary world model function.
 Interpreter getInterpreter()
           
 Relation getRelation()
           
 
Methods inherited from class com.irs.jam.Action
format, getName, getTraceFile, getTraceLine, getType, isExecutableAction, setTrace, setTraceFile, setTraceLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_relation

protected Relation _relation

_interpreter

protected Interpreter _interpreter
Method Detail

getRelation

public Relation getRelation()
Overrides:
getRelation in class Action

getInterpreter

public Interpreter getInterpreter()

execute

public int execute(Binding b,
                   Goal currentGoal)
Perform the necessary world model function.
Overrides:
execute in class Action