edu.cmu.sphinx.decoder.search
Class SimpleActiveListFactory

java.lang.Object
  extended byedu.cmu.sphinx.decoder.search.SimpleActiveListFactory
All Implemented Interfaces:
ActiveListFactory, Configurable

public class SimpleActiveListFactory
extends java.lang.Object
implements ActiveListFactory

A factory for simple active lists


Field Summary
static java.lang.String PROP_LOG_MATH
          Sphinx property that defines the name of the logmath to be used by this search manager.
 
Fields inherited from interface edu.cmu.sphinx.decoder.search.ActiveListFactory
PROP_ABSOLUTE_BEAM_WIDTH, PROP_ABSOLUTE_BEAM_WIDTH_DEFAULT, PROP_RELATIVE_BEAM_WIDTH, PROP_RELATIVE_BEAM_WIDTH_DEFAULT, PROP_STRICT_PRUNING, PROP_STRICT_PRUNING_DEFAULT
 
Constructor Summary
SimpleActiveListFactory()
           
 
Method Summary
 java.lang.String getName()
          Retrieves the name for this configurable component
 ActiveList newInstance()
          Creates a new active list of a particular type
 void newProperties(PropertySheet ps)
          This method is called when this configurable component has new data.
 void register(java.lang.String name, Registry registry)
          Register my properties.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_LOG_MATH

public static final java.lang.String PROP_LOG_MATH
Sphinx property that defines the name of the logmath to be used by this search manager.

See Also:
Constant Field Values
Constructor Detail

SimpleActiveListFactory

public SimpleActiveListFactory()
Method Detail

register

public void register(java.lang.String name,
                     Registry registry)
              throws PropertyException
Description copied from interface: Configurable
Register my properties. This method is called once early in the time of the component, shortly after the component is constructed. This component should register any configuration properties that it needs to register. If this configurable extends another configurable, super.register should also be called

Specified by:
register in interface Configurable
Parameters:
name - the name of the component
registry - the registry for this component
Throws:
PropertyException

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component has new data. The component should first validate the data. If it is bad the component should return false. If the data is good, the component should record the the data internally and return true.

Specified by:
newProperties in interface Configurable
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.

getName

public java.lang.String getName()
Description copied from interface: Configurable
Retrieves the name for this configurable component

Specified by:
getName in interface Configurable
Returns:
the name

newInstance

public ActiveList newInstance()
Description copied from interface: ActiveListFactory
Creates a new active list of a particular type

Specified by:
newInstance in interface ActiveListFactory
Returns:
the active list