|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.sandia.cognition.util.AbstractCloneableSerializable
gov.sandia.cognition.framework.learning.converter.AbstractCogxelConverter<PairType>
gov.sandia.cognition.framework.learning.converter.AbstractCogxelPairConverter<TargetType,EstimateType,TargetEstimatePair<TargetType,EstimateType>>
gov.sandia.cognition.framework.learning.converter.CogxelTargetEstimatePairConverter<TargetType,EstimateType>
TargetType - Type of the targetsEstimateType - Type of the estimatespublic class CogxelTargetEstimatePairConverter<TargetType,EstimateType>
CogxelConverter based on a TargetEstimatePair.
| Field Summary |
|---|
| Fields inherited from class gov.sandia.cognition.framework.learning.converter.AbstractCogxelConverter |
|---|
semanticIdentifierMap |
| Constructor Summary | |
|---|---|
CogxelTargetEstimatePairConverter()
Creates a new CogxelTargetEstimatePairConverter. |
|
CogxelTargetEstimatePairConverter(CogxelConverter<TargetType> targetConverter,
CogxelConverter<EstimateType> estimateConverter)
Creates a new CogxelTargetEstimatePairConverter with the given converters for each element of the pair. |
|
CogxelTargetEstimatePairConverter(CogxelConverter<TargetType> targetConverter,
CogxelConverter<EstimateType> estimateConverter,
SemanticIdentifierMap semanticIdentifierMap)
Creates a new CogxelTargetEstimatePairConverter with the given converters for each element of the pair. |
|
| Method Summary | |
|---|---|
TargetEstimatePair<TargetType,EstimateType> |
createPair(TargetType first,
EstimateType second)
Creates a Pair from the needed data |
boolean |
equals(Object other)
|
CogxelConverter<EstimateType> |
getEstimateConverter()
Gets the converter for the estimate value. |
CogxelConverter<TargetType> |
getTargetConverter()
Gets the converter for the target value. |
int |
hashCode()
|
void |
setEstimateConverter(CogxelConverter<EstimateType> estimateConverter)
Sets the converter for the estimate value. |
void |
setTargetConverter(CogxelConverter<TargetType> targetConverter)
Sets the converter for the target value. |
| Methods inherited from class gov.sandia.cognition.framework.learning.converter.AbstractCogxelPairConverter |
|---|
clone, equals, fromCogxels, getFirstConverter, getSecondConverter, setFirstConverter, setSecondConverter, setSemanticIdentifierMap, toCogxels |
| Methods inherited from class gov.sandia.cognition.framework.learning.converter.AbstractCogxelConverter |
|---|
buildIdentifierCache, getSemanticIdentifierMap |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CogxelTargetEstimatePairConverter()
public CogxelTargetEstimatePairConverter(CogxelConverter<TargetType> targetConverter,
CogxelConverter<EstimateType> estimateConverter)
targetConverter - The CogxelConverter for the target element of the pair.estimateConverter - The CogxelConverter for the estimate element of the pair.
public CogxelTargetEstimatePairConverter(CogxelConverter<TargetType> targetConverter,
CogxelConverter<EstimateType> estimateConverter,
SemanticIdentifierMap semanticIdentifierMap)
targetConverter - The CogxelConverter for the target element of the pair.estimateConverter - The CogxelConverter for the estimate element of the pair.semanticIdentifierMap - The SemanticIdentifierMap for the converter.| Method Detail |
|---|
public TargetEstimatePair<TargetType,EstimateType> createPair(TargetType first,
EstimateType second)
AbstractCogxelPairConverter
createPair in class AbstractCogxelPairConverter<TargetType,EstimateType,TargetEstimatePair<TargetType,EstimateType>>first - First element of the Pairsecond - Second element of the Pair
public boolean equals(Object other)
equals in class AbstractCogxelPairConverter<TargetType,EstimateType,TargetEstimatePair<TargetType,EstimateType>>public int hashCode()
hashCode in class AbstractCogxelPairConverter<TargetType,EstimateType,TargetEstimatePair<TargetType,EstimateType>>public CogxelConverter<TargetType> getTargetConverter()
public void setTargetConverter(CogxelConverter<TargetType> targetConverter)
targetConverter - The target converter.public CogxelConverter<EstimateType> getEstimateConverter()
public void setEstimateConverter(CogxelConverter<EstimateType> estimateConverter)
estimateConverter - The estimate converter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||