Class Include

All Implemented Interfaces:
Directive

public class Include extends DefaultDirective implements Directive
Implementation of the include directive.
  • Constructor Details

    • Include

      public Include()
  • Method Details

    • process

      public Agent process(Pred directive, Agent outerContent, Agent innerContent)
      Description copied from interface: Directive
      This method is called to process the directive.
      Specified by:
      process in interface Directive
      Overrides:
      process in class DefaultDirective
      Parameters:
      directive - the directive as defined in the source (e.g. "include("bla.asl")")
      outerContent - the representation of the agent where the directive is being processed (the method should not change this agent state)
      innerContent - the content (plans, beliefs, ...) inside the begin/end directive (as in goal patterns)
      Returns:
      the agent (plans, bels, ...) with the result of the directive.
    • setSourcePath

      public void setSourcePath(SourcePath sp)
    • getSourcePaths

      public SourcePath getSourcePaths()