OptionsStepImpl
class OptionsStepImpl<SubjectT, FeatureT>(val featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<SubjectT>, val featureExtraction: (SubjectT) -> Option<FeatureT>) : FeatureExtractorBuilder.OptionsStep<SubjectT, FeatureT> (source)
Constructors
Link copied to clipboard
constructor(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<SubjectT>, featureExtraction: (SubjectT) -> Option<FeatureT>)
Properties
Functions
Link copied to clipboard
open fun withOptions(configuration: FeatureExpectOptionsChooser<FeatureT>.() -> Unit): FeatureExtractorBuilder.FinalStep<SubjectT, FeatureT>
Allows to define the FeatureExpectOptions via an FeatureExpectOptionsChooser-lambda which provides convenience functions.
open override fun withOptions(expectOptions: FeatureExpectOptions<FeatureT>): FeatureExtractorBuilder.FinalStep<SubjectT, FeatureT>
Uses the given expectOptions.
Link copied to clipboard
States explicitly that no optional FeatureExpectOptions are defined, which means, the FeatureExtractor will create a new AssertionContainer based on the previously defined mandatory options but without any optional options or in other words, the default values are used for the optional options.