Class create

java.lang.Object
jason.asSemantics.DefaultInternalAction
jason.stdlib.queue.create
All Implemented Interfaces:
InternalAction, java.io.Serializable
Direct Known Subclasses:
add, add_all, clear, head, remove, to_list

public class create
extends DefaultInternalAction
See Also:
Serialized Form
  • Constructor Details

    • create

      public create()
  • Method Details

    • getQueue

      protected java.util.Queue<Term> getQueue​(Unifier un, Term[] args)
    • createQueue

      protected boolean createQueue​(Unifier un, Term[] args)
    • execute

      public java.lang.Object execute​(TransitionSystem ts, Unifier un, Term[] args) throws java.lang.Exception
      Description copied from interface: InternalAction
      Executes the internal action. It should return a Boolean or an Iterator. A true boolean return means that the IA was successfully executed. An Iterator result means that there is more than one answer for this IA (e.g. see member internal action).
      Specified by:
      execute in interface InternalAction
      Overrides:
      execute in class DefaultInternalAction
      Throws:
      java.lang.Exception