jmadem
Class add_utility_function
java.lang.Object
jason.asSemantics.DefaultInternalAction
jmadem.add_utility_function
- All Implemented Interfaces:
- jason.asSemantics.InternalAction, java.io.Serializable
public class add_utility_function
- extends jason.asSemantics.DefaultInternalAction
Internal function for adding an utility function to the MADeM agent.
Use:
jmadem.add_utility_function("package.UtilityFunctionName")
- Author:
- Francisco Grimaldo
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
execute(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
|
Methods inherited from class jason.asSemantics.DefaultInternalAction |
canBeUsedInContext, checkArguments, getMaxArgs, getMinArgs, suspendIntention |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
logger
java.util.logging.Logger logger
add_utility_function
public add_utility_function()
execute
public java.lang.Object execute(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
throws java.lang.Exception
- Specified by:
execute
in interface jason.asSemantics.InternalAction
- Overrides:
execute
in class jason.asSemantics.DefaultInternalAction
- Throws:
java.lang.Exception