interface FinalStep<T, R>
Final step in the help-me-to-call-FeatureExtractor-process, which creates an ExecutionStep incorporating all chosen options and is able to call SubjectChanger accordingly.
T
- the type of the current subject.
R
- the type of the new subject.
abstract val featureExpectOptions: FeatureExpectOptions<R>?
Either the previously specified FeatureExpectOptions or |
|
abstract val featureExtraction: (T) -> Option<R>
The previously specified feature extraction lambda. |
|
abstract val featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>
The so far chosen options up to the FeatureExtractionStep step. |
abstract fun build(): FeatureExtractorBuilder.ExecutionStep<T, R>
Finishes the help-me-to-call-FeatureExtractor-process by creating an ExecutionStep incorporating all previously chosen options. |
operator fun <T, R> invoke(featureExtractionStep: FeatureExtractorBuilder.FeatureExtractionStep<T>, featureExtraction: (T) -> Option<R>, featureExpectOptions: FeatureExpectOptions<R>): FeatureExtractorBuilder.FinalStep<T, R>
Creates the FinalStep in the context of the FeatureExtractorBuilder. |
class FinalStepImpl<T, R> : FeatureExtractorBuilder.FinalStep<T, R> |