Package rjs.jia

Class abolish_all_except_ground

  • All Implemented Interfaces:
    jason.asSemantics.InternalAction, java.io.Serializable

    public class abolish_all_except_ground
    extends jason.asSemantics.DefaultInternalAction

    Internal action: rjs.abolish_all_except_ground.

    Description: removes all the beliefs except the ones with the annotation "ground"

    Author:
    amdia
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.logging.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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, checkArguments, destroy, prepareArguments, suspendIntention
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private java.util.logging.Logger logger
    • Constructor Detail

      • abolish_all_except_ground

        public abolish_all_except_ground()
    • Method Detail

      • getMinArgs

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

        public int getMaxArgs()
        Overrides:
        getMaxArgs in class jason.asSemantics.DefaultInternalAction
      • 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