Class EnergySchemeCreatorByElement
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<EnergySchemeCreator>
org.anchoranalysis.mpp.feature.bean.energy.scheme.EnergySchemeCreator
org.anchoranalysis.mpp.feature.bean.energy.scheme.EnergySchemeCreatorByElement
public class EnergySchemeCreatorByElement extends EnergySchemeCreator
Creates an
EnergyScheme by combining individual elements and their interactions.-
Constructor Summary
Constructors Constructor Description EnergySchemeCreatorByElement() -
Method Summary
Modifier and Type Method Description EnergySchemecreate()Creates anEnergySchemeinstance.org.anchoranalysis.bean.shared.dictionary.DictionaryProvidergetDictionary()Optional dictionary provider.FeatureListProvider<FeatureInputAllMemo>getElemAllCreator()Optional creator for features considering all elements.FeatureListProvider<FeatureInputSingleMemo>getElemIndCreator()Creates features for individual elements.FeatureListProvider<FeatureInputPairMemo>getElemPairCreator()Creates features for pairs of elements.List<NamedBean<FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>>>getListImageFeatures()List of named feature providers for image-based features.AddCriteriaPairgetPairAddCriteria()Criteria for adding pairs of elements.RegionMapgetRegionMap()Mapping of regions.booleanisIncludeFeatureNames()If true, the names of the imageFeatures are taken as a combination of the namedItem and the actual features.voidsetDictionary(org.anchoranalysis.bean.shared.dictionary.DictionaryProvider dictionary)Optional dictionary provider.voidsetElemAllCreator(FeatureListProvider<FeatureInputAllMemo> elemAllCreator)Optional creator for features considering all elements.voidsetElemIndCreator(FeatureListProvider<FeatureInputSingleMemo> elemIndCreator)Creates features for individual elements.voidsetElemPairCreator(FeatureListProvider<FeatureInputPairMemo> elemPairCreator)Creates features for pairs of elements.voidsetIncludeFeatureNames(boolean includeFeatureNames)If true, the names of the imageFeatures are taken as a combination of the namedItem and the actual features.voidsetListImageFeatures(List<NamedBean<FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>>> listImageFeatures)List of named feature providers for image-based features.voidsetPairAddCriteria(AddCriteriaPair pairAddCriteria)Criteria for adding pairs of elements.voidsetRegionMap(RegionMap regionMap)Mapping of regions.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
EnergySchemeCreatorByElement
public EnergySchemeCreatorByElement()
-
-
Method Details
-
create
Description copied from class:EnergySchemeCreatorCreates anEnergySchemeinstance.- Specified by:
createin classEnergySchemeCreator- Returns:
- a new
EnergySchemeobject - Throws:
CreateException- if there's an error during the creation process
-
getElemIndCreator
Creates features for individual elements. -
setElemIndCreator
Creates features for individual elements. -
getElemPairCreator
Creates features for pairs of elements. -
setElemPairCreator
Creates features for pairs of elements. -
getElemAllCreator
Optional creator for features considering all elements. -
setElemAllCreator
Optional creator for features considering all elements. -
getListImageFeatures
public List<NamedBean<FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>>> getListImageFeatures()List of named feature providers for image-based features. -
setListImageFeatures
public void setListImageFeatures(List<NamedBean<FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>>> listImageFeatures)List of named feature providers for image-based features. -
getPairAddCriteria
Criteria for adding pairs of elements. -
setPairAddCriteria
Criteria for adding pairs of elements. -
getRegionMap
Mapping of regions. -
setRegionMap
Mapping of regions. -
getDictionary
public org.anchoranalysis.bean.shared.dictionary.DictionaryProvider getDictionary()Optional dictionary provider. -
setDictionary
public void setDictionary(org.anchoranalysis.bean.shared.dictionary.DictionaryProvider dictionary)Optional dictionary provider. -
isIncludeFeatureNames
public boolean isIncludeFeatureNames()If true, the names of the imageFeatures are taken as a combination of the namedItem and the actual features. -
setIncludeFeatureNames
public void setIncludeFeatureNames(boolean includeFeatureNames)If true, the names of the imageFeatures are taken as a combination of the namedItem and the actual features.
-