jildt
Class parseLearnedCtxt

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

public class parseLearnedCtxt
extends jason.asSemantics.DefaultInternalAction

Internal action to parse an induced Tree to a list with the learned terms. Success branches of the tree form a new learned context LC to be changed in a plan. The result is a list of lists, where every inner list means a conjunction of literals, and the set of this lists means a disjunction of conjunctions.

Use:
jildt.parseLearnedCtxt(Tree, LC)

Parameters:

Examples:

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

Constructor Summary
parseLearnedCtxt()
           
 
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

parseLearnedCtxt

public parseLearnedCtxt()
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