edu.mit.sketch.system
Class InterpretationChooser

java.lang.Object
  |
  +--edu.mit.sketch.system.InterpretationChooser
All Implemented Interfaces:
SchedulerItem

public class InterpretationChooser
extends Object
implements SchedulerItem

Created: Fri Mar 8 11:27:51 2002
Copyright: Copyright (C) 2001 by MIT. All rights reserved.


Constructor Summary
InterpretationChooser()
           
 
Method Summary
 boolean hasProcessType(String type)
          Return the type of processing this scheduler item will perform.
 void process(Scheduler scheduler, Blackboard bb)
          Gets the interpretation index and mutates it so it contains the current best set of interpretations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpretationChooser

public InterpretationChooser()
Method Detail

process

public void process(Scheduler scheduler,
                    Blackboard bb)
Gets the interpretation index and mutates it so it contains the current best set of interpretations. For now it's really simple and just includes everything.
Specified by:
process in interface SchedulerItem
Parameters:
scheduler - a Scheduler value
bb - a Blackboard value

hasProcessType

public boolean hasProcessType(String type)
Description copied from interface: SchedulerItem
Return the type of processing this scheduler item will perform.
Specified by:
hasProcessType in interface SchedulerItem