Class PermuteFeatureBase<T extends org.anchoranalysis.feature.input.FeatureInput>

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,​org.anchoranalysis.feature.initialization.FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<org.anchoranalysis.feature.bean.list.FeatureListProvider<T>,​org.anchoranalysis.feature.bean.list.FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<T>
org.anchoranalysis.plugin.image.feature.bean.list.permute.PermuteFeatureBase<T>
Type Parameters:
T - input-type of feature
All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<T>>
Direct Known Subclasses:
PermuteFeature, PermuteFeatureSequenceInteger

public abstract class PermuteFeatureBase<T extends org.anchoranalysis.feature.input.FeatureInput>
extends org.anchoranalysis.feature.bean.list.FeatureListProvider<T>
Creates permutations of a feature by modifying a particular property of it in different ways.

This class is designed to be an abstract-base-class for different types of permutations on a single feature.

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    PermuteFeatureBase()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract org.anchoranalysis.feature.bean.list.FeatureList<T> createPermutedFeaturesFor​(org.anchoranalysis.feature.bean.Feature<T> feature)
    Creates permuted features for the given feature.
    org.anchoranalysis.feature.bean.list.FeatureList<T> get()  
    org.anchoranalysis.feature.bean.Feature<T> getFeature()
    The feature to be permuted.
    void setFeature​(org.anchoranalysis.feature.bean.Feature<T> feature)
    The feature to be permuted.

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • get

      public org.anchoranalysis.feature.bean.list.FeatureList<T> get() throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException
      Throws:
      org.anchoranalysis.bean.xml.exception.ProvisionFailedException
    • createPermutedFeaturesFor

      protected abstract org.anchoranalysis.feature.bean.list.FeatureList<T> createPermutedFeaturesFor​(org.anchoranalysis.feature.bean.Feature<T> feature) throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException
      Creates permuted features for the given feature.
      Parameters:
      feature - the feature to permute
      Returns:
      a FeatureList containing the permuted features
      Throws:
      org.anchoranalysis.bean.xml.exception.ProvisionFailedException - if the permuted features cannot be created
    • getFeature

      public org.anchoranalysis.feature.bean.Feature<T> getFeature()
      The feature to be permuted.
    • setFeature

      public void setFeature​(org.anchoranalysis.feature.bean.Feature<T> feature)
      The feature to be permuted.