File post_processor.hpp¶
-
class IPostProcessor¶
- #include <post_processor.hpp>
Defines an interface for all classes that allow to post-process the predictions of rules once they have been learned.
Public Functions
-
inline virtual ~IPostProcessor()¶
-
virtual void postProcess(View<uint8>::iterator begin, View<uint8>::iterator end) const = 0¶
Post-processes the prediction, represented by 8-bit unsigned integer values, of a rule.
- Parameters:
begin – An iterator to the beginning of the predictions
end – An iterator to the end of the predictions
-
inline virtual ~IPostProcessor()¶
-
class IPostProcessorFactory¶
- #include <post_processor.hpp>
Defines an interface for all factories that allow to create instances of the type
IPostProcessor.Public Functions
-
inline virtual ~IPostProcessorFactory()¶
-
virtual std::unique_ptr<IPostProcessor> create() const = 0¶
Creates and returns a new object of type
IPostProcessor.- Returns:
An unique pointer to an object of type
IPostProcessorthat has been created
-
inline virtual ~IPostProcessorFactory()¶
-
class IPostProcessorConfig¶
- #include <post_processor.hpp>
Defines an interface for all classes that allow to configure a method that post-processes the predictions of rules once they have been learned.
Subclassed by NoPostProcessorConfig
Public Functions
-
inline virtual ~IPostProcessorConfig()¶
-
virtual std::unique_ptr<IPostProcessorFactory> createPostProcessorFactory() const = 0¶
Creates and returns a new object of type
IPostProcessorFactoryaccording to the specified configuration.- Returns:
An unique pointer to an object of type
IPostProcessorFactorythat has been created
-
inline virtual ~IPostProcessorConfig()¶