jildt
Class inductionLevel

java.lang.Object
  extended by jason.asSemantics.DefaultInternalAction
      extended by jildt.inductionLevel
All Implemented Interfaces:
jason.asSemantics.InternalAction, java.io.Serializable

public class inductionLevel
extends jason.asSemantics.DefaultInternalAction

Internal action for getting the induction mechanism. Induction of learning may be done in a java level, or in an agentSpeak level. This option is configurable after a believe jildt_settings (inductionLevel, Level), where Level is an atom in the set {java, agentSpeak}. By default, learner agents will execute learning by java mechanism if the previous configuration is not defined.

Use:
jildt.inductionLevel(Level)

Parameters:

Examples: Assuming the agent believes: jildt_settings(inductionLevel, agentSpeak).

Author:
Carlos Alberto González-Alarcón, Alejandro Guerra-Hernández, Francisco Grimaldo-Moreno
See Also:
Serialized Form

Constructor Summary
inductionLevel()
           
 
Method Summary
 java.lang.Object execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args)
           
 int getMaxArgs()
           
 int getMinArgs()
           
 
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, prepareArguments, suspendIntention
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

inductionLevel

public inductionLevel()
Method Detail

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

getMinArgs

public int getMinArgs()
Overrides:
getMinArgs in class jason.asSemantics.DefaultInternalAction

getMaxArgs

public int getMaxArgs()
Overrides:
getMaxArgs in class jason.asSemantics.DefaultInternalAction