cz.cuni.amis.pogamut.defcon.jason.action
Class AbstractInternalAction
java.lang.Object
jason.asSemantics.DefaultInternalAction
cz.cuni.amis.pogamut.defcon.jason.action.AbstractInternalAction
- All Implemented Interfaces:
- jason.asSemantics.InternalAction, Serializable
- Direct Known Subclasses:
- antiSubState, getDistance, getFleetMembers, nukeState, time, unitType
public abstract class AbstractInternalAction
- extends jason.asSemantics.DefaultInternalAction
Super-class for all Defcon internal classes.
- Author:
- Radek 'Black_Hand' Pibil
- See Also:
- Serialized Form
|
Method Summary |
Object |
execute(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
|
protected abstract Object |
executeWorker(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
|
IJasonAI |
getAgent(jason.asSemantics.TransitionSystem ts)
|
| Methods inherited from class jason.asSemantics.DefaultInternalAction |
canBeUsedInContext, checkArguments, getMaxArgs, getMinArgs, prepareArguments, suspendIntention |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInternalAction
public AbstractInternalAction()
getAgent
public IJasonAI getAgent(jason.asSemantics.TransitionSystem ts)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
execute
public Object execute(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
throws Exception
- Specified by:
execute in interface jason.asSemantics.InternalAction- Overrides:
execute in class jason.asSemantics.DefaultInternalAction
- Throws:
Exception
executeWorker
protected abstract Object executeWorker(jason.asSemantics.TransitionSystem ts,
jason.asSemantics.Unifier un,
jason.asSyntax.Term[] args)
throws Exception
- Throws:
Exception
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.