edu.mit.sketch.system
Class BottomUpTemplateFiller

java.lang.Object
  |
  +--edu.mit.sketch.system.KnowledgeSource
        |
        +--edu.mit.sketch.system.BottomUpTemplateFiller

public class BottomUpTemplateFiller
extends KnowledgeSource

Created: Sun Jan 6 15:22:36 2002
Copyright: Copyright (C) 2001 by MIT. All rights reserved.


Constructor Summary
BottomUpTemplateFiller(Blackboard bb)
           
 
Method Summary
 Collection trigger(BBItemHandler items, Blackboard bb)
          A function which takes the new BBItems and the Blackboard itself and returns (in constant time, relative to the stuff on the BB) a collection of Scheduler Items which are the triggered knowledge sources.
 
Methods inherited from class edu.mit.sketch.system.KnowledgeSource
getName, getProcessType, hasProcessType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BottomUpTemplateFiller

public BottomUpTemplateFiller(Blackboard bb)
Method Detail

trigger

public Collection trigger(BBItemHandler items,
                          Blackboard bb)
Description copied from class: KnowledgeSource
A function which takes the new BBItems and the Blackboard itself and returns (in constant time, relative to the stuff on the BB) a collection of Scheduler Items which are the triggered knowledge sources. The triggerent KSs must implement the function "process" which checks more throuroughly to see if its conditions are met, and if so makes the appropriate changes to the Blackboard.
Overrides:
trigger in class KnowledgeSource