public class getResult
extends jason.asSemantics.DefaultInternalAction
Modifier and Type | Field and Description |
---|---|
static int |
ACTIONID_ARG_INDEX
The index of the action ID.
|
static int |
RESULT_ARG_INDEX
The index of Result variable.
|
Constructor and Description |
---|
getResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
Internal action body.
|
int |
getMaxArgs()
The maximum number of arguments is 2.
|
int |
getMinArgs()
The maximum number of arguments is 2.
|
protected void |
log(java.lang.String msg)
Method to log a message.
|
boolean |
suspendIntention() |
public static final int ACTIONID_ARG_INDEX
public static final int RESULT_ARG_INDEX
public final java.lang.Object execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args) throws java.lang.Exception
execute
in interface jason.asSemantics.InternalAction
execute
in class jason.asSemantics.DefaultInternalAction
java.lang.Exception
public final int getMaxArgs()
getMaxArgs
in class jason.asSemantics.DefaultInternalAction
public final int getMinArgs()
getMinArgs
in class jason.asSemantics.DefaultInternalAction
public final boolean suspendIntention()
suspendIntention
in interface jason.asSemantics.InternalAction
suspendIntention
in class jason.asSemantics.DefaultInternalAction
protected final void log(java.lang.String msg)
msg
- The message to log.