Package jason.asSyntax.patterns.goal
Class DG
java.lang.Object
jason.asSyntax.directives.DefaultDirective
jason.asSyntax.patterns.goal.DG
- All Implemented Interfaces:
Directive
- Direct Known Subclasses:
BDG
Implementation of the Declarative Goal pattern (see DALT 2006 paper)
-
Constructor Summary
-
Method Summary
Methods inherited from class jason.asSyntax.directives.DefaultDirective
begin, end, isSingleton
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jason.asSyntax.directives.Directive
begin, end, isSingleton
-
Constructor Details
-
DG
public DG()
-
-
Method Details
-
process
Description copied from interface:Directive
This method is called to process the directive.- Specified by:
process
in interfaceDirective
- Overrides:
process
in classDefaultDirective
- 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.
-