|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcalhoun.analysis.crf.AbstractFeatureManager<InputType>
public abstract class AbstractFeatureManager<InputType>
base class for feature implementations. Takes care of some of the details and bookkeeping involved in writing a feature.
| Constructor Summary | |
|---|---|
AbstractFeatureManager()
|
|
| Method Summary | |
|---|---|
CacheStrategySpec |
getCacheStrategy()
caching strategy that the CacheProcessor should use to cache values for this feature. |
java.lang.String |
getInputComponent()
Specifies the particular component of the input which this feature manager uses, if the input data is a composite input which has multiple components. |
void |
setInputComponent(java.lang.String inputComponent)
Sets which particular component of a CompositeInput this FeatureManager has access to. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface calhoun.analysis.crf.FeatureManager |
|---|
getFeatureName, getNumFeatures, train |
| Constructor Detail |
|---|
public AbstractFeatureManager()
| Method Detail |
|---|
public CacheStrategySpec getCacheStrategy()
FeatureManagerCacheProcessor should use to cache values for this feature.
This is only a hint, the cache processor is not required to use this (or any) caching strategy. This base class defaults
to the UNSPECIFIED cache strategy.
getCacheStrategy in interface FeatureManager<InputType>public java.lang.String getInputComponent()
FeatureManagernull if the input is not a composite or if the feature manager has access to all
of the input. See the Conrad User's Guide for how to set up input data.
getInputComponent in interface FeatureManager<InputType>public void setInputComponent(java.lang.String inputComponent)
FeatureManager
setInputComponent in interface FeatureManager<InputType>inputComponent - name of the component of the CompositeInput this FeatureManager has access to. Usually set automatically during configuration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||