public class DG extends DefaultDirective implements Directive
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.logging.Logger |
logger |
Constructor and Description |
---|
DG() |
Modifier and Type | Method and Description |
---|---|
Agent |
process(Pred directive,
Agent outerContent,
Agent innerContent)
This method is called to process the directive.
|
begin, end, isSingleton
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
begin, end, isSingleton
public Agent process(Pred directive, Agent outerContent, Agent innerContent)
Directive
process
in interface Directive
process
in class DefaultDirective
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)