edu.mit.sketch.system
Interface SchedulerItem

All Known Implementing Classes:
InterpretationChooser

public interface SchedulerItem

The interface for items that can go onto the scheduler's process stack. They have to know what they do when they are called. Also, they are allowed to push subgoals onto the process stack, but they should not take things off of it.


Method Summary
 boolean hasProcessType(String s)
          Return the type of processing this scheduler item will perform.
 void process(Scheduler scheduler, Blackboard blackboard)
          The method that gets called when this item is run.
 

Method Detail

process

public void process(Scheduler scheduler,
                    Blackboard blackboard)
The method that gets called when this item is run. The scheudler is passed in so that this item can make requests from the scheudler for more information.

hasProcessType

public boolean hasProcessType(String s)
Return the type of processing this scheduler item will perform.