|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.sandia.cognition.framework.learning.EvaluatorBasedCognitiveModuleSettings<InputType,OutputType>
InputType - Input type of the embedded EvaluatorOutputType - Output type of the embedded Evaluatorpublic class EvaluatorBasedCognitiveModuleSettings<InputType,OutputType>
The EvaluatorBasedCognitiveModuleSettings class implements the settings for the EvaluatorBasedCognitiveModule. It contains the evaluator to be wrapped along with the converters to convert the input Cogxels to the InputType and the OutputType back to Cogxels.
| Constructor Summary | |
|---|---|
EvaluatorBasedCognitiveModuleSettings()
Creates a new instance of EvaluatorBasedCognitiveModuleSettings. |
|
EvaluatorBasedCognitiveModuleSettings(gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> evaluator,
CogxelConverter<InputType> inputConverter,
CogxelConverter<OutputType> outputConverter)
Creates a new instance of EvaluatorBasedCognitiveModuleSettings. |
|
EvaluatorBasedCognitiveModuleSettings(EvaluatorBasedCognitiveModuleSettings<InputType,OutputType> other)
Creates a new instance of EvaluatorBasedCognitiveModuleSettings that is a copy of the given EvaluatorBasedCognitiveModuleSettings. |
|
| Method Summary | |
|---|---|
EvaluatorBasedCognitiveModuleSettings<InputType,OutputType> |
clone()
Creates a clone of this EvaluatorBasedCognitiveModuleSettings. |
gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> |
getEvaluator()
Gets the evaluator to be used by the module. |
CogxelConverter<InputType> |
getInputConverter()
Gets the CogxelConverter used to convert from a CogxelState to InputType. |
CogxelConverter<OutputType> |
getOutputConverter()
Gets the CogxelConverter used to convert OutputType to a CogxelState. |
void |
setEvaluator(gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> evaluator)
Sets the evaluator to be used by the module. |
void |
setInputConverter(CogxelConverter<InputType> inputConverter)
Sets the CogxelConverter used to convert from a CogxelState to InputType. |
void |
setOutputConverter(CogxelConverter<OutputType> outputConverter)
Sets the CogxelConverter used to convert OutputType to a CogxelState. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluatorBasedCognitiveModuleSettings()
public EvaluatorBasedCognitiveModuleSettings(gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> evaluator,
CogxelConverter<InputType> inputConverter,
CogxelConverter<OutputType> outputConverter)
evaluator - The evaluator to be used by the module.inputConverter - The CogxelConverter used to convert from a
CogxelState to InputType.outputConverter - The CogxelConverter used to convert OutputType to
a CogxelState.public EvaluatorBasedCognitiveModuleSettings(EvaluatorBasedCognitiveModuleSettings<InputType,OutputType> other)
other - The other EvaluatorBasedCognitiveModuleSettings to copy.| Method Detail |
|---|
public EvaluatorBasedCognitiveModuleSettings<InputType,OutputType> clone()
clone in interface gov.sandia.cognition.util.CloneableSerializableclone in class Objectpublic gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> getEvaluator()
public void setEvaluator(gov.sandia.cognition.evaluator.Evaluator<? super InputType,? extends OutputType> evaluator)
evaluator - The evaluator to be used by the module.public CogxelConverter<InputType> getInputConverter()
public void setInputConverter(CogxelConverter<InputType> inputConverter)
inputConverter - The CogxelConverter used to convert from a
CogxelState to InputType.public CogxelConverter<OutputType> getOutputConverter()
public void setOutputConverter(CogxelConverter<OutputType> outputConverter)
outputConverter - The CogxelConverter used to convert OutputType to
a CogxelState.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||