public abstract class FeatureDeriveFromPair extends FeaturePairObjects
FeaturePairObjects
in terms of another feature that operations
on elements (first, second, merged etc.)Modifier and Type | Field and Description |
---|---|
static ChildCacheName |
CACHE_NAME_FIRST |
static ChildCacheName |
CACHE_NAME_MERGED |
static ChildCacheName |
CACHE_NAME_SECOND |
Constructor and Description |
---|
FeatureDeriveFromPair() |
FeatureDeriveFromPair(Feature<FeatureInputSingleObject> item) |
Modifier and Type | Method and Description |
---|---|
Feature<FeatureInputSingleObject> |
getItem() |
void |
setItem(Feature<FeatureInputSingleObject> item) |
protected double |
valueFromFirst(FeatureCalculationInput<FeatureInputPairObjects> input) |
protected double |
valueFromMerged(FeatureCalculationInput<FeatureInputPairObjects> input) |
protected double |
valueFromSecond(FeatureCalculationInput<FeatureInputPairObjects> input) |
inputType
assignTo, beforeCalc, calculate, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public static final ChildCacheName CACHE_NAME_FIRST
public static final ChildCacheName CACHE_NAME_SECOND
public static final ChildCacheName CACHE_NAME_MERGED
public FeatureDeriveFromPair()
public FeatureDeriveFromPair(Feature<FeatureInputSingleObject> item)
protected double valueFromFirst(FeatureCalculationInput<FeatureInputPairObjects> input) throws FeatureCalculationException
FeatureCalculationException
protected double valueFromSecond(FeatureCalculationInput<FeatureInputPairObjects> input) throws FeatureCalculationException
FeatureCalculationException
protected double valueFromMerged(FeatureCalculationInput<FeatureInputPairObjects> input) throws FeatureCalculationException
FeatureCalculationException
public Feature<FeatureInputSingleObject> getItem()
public void setItem(Feature<FeatureInputSingleObject> item)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.