jildt.tilde
Class initialQuery

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

public class initialQuery
extends jason.asSemantics.DefaultInternalAction

Internal action to form the initial query Qi of a tree. The initial query is an one-size-list, where the only member of the list is a literal intend/1. The argument in the literal is formed by the trigger event of a plan P, which links the variables of the plan with the ones in an induced tree.

Use:
jildt.tilde.initialQuery(P,Qi)

Parameters:

Examples: Given the plan: @put_label +!put(X,Y) : clear(X) & clear(Y) <- move(X,Y).

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

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

initialQuery

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