![JAR search and dependency download from the Maven repository](/logo.png)
templates.ia Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jason Show documentation
Show all versions of jason Show documentation
Jason is a fully-fledged interpreter for an extended version of AgentSpeak, a BDI agent-oriented logic programming language.
The newest version!
// Internal action code for project
package ;
import jason.*;
import jason.asSemantics.*;
import jason.asSyntax.*;
public class extends {
@Override
public Object execute(TransitionSystem ts, Unifier un, Term[] args) throws Exception {
// execute the internal action
ts.getAg().getLogger().info("executing internal action '.'");
if (true) { // just to show how to throw another kind of exception
throw new JasonException("not implemented!");
}
// everything ok, so returns true
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy