public class SimplePruner extends java.lang.Object implements Pruner
| Constructor and Description |
|---|
SimplePruner() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocate()
Allocates resources necessary for this pruner
|
void |
deallocate()
Deallocates resources necessary for this pruner
|
java.lang.String |
getName() |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
ActiveList |
prune(ActiveList activeList)
prunes the given set of states
|
void |
startRecognition()
Starts the pruner
|
void |
stopRecognition()
Performs post-recognition cleanup.
|
public void newProperties(PropertySheet ps) throws PropertyException
ConfigurablenewProperties in interface Configurableps - a property sheet holding the new dataPropertyException - if there is a problem with the properties.public java.lang.String getName()
public void startRecognition()
startRecognition in interface Prunerpublic ActiveList prune(ActiveList activeList)
public void stopRecognition()
stopRecognition in interface Prunerpublic void allocate()
Prunerpublic void deallocate()
Prunerdeallocate in interface Pruner