SelectMethodForm< MLAlgorithm, HMFs > Struct Template Reference

A type function that selects a right method form. More...

Detailed Description

template<typename MLAlgorithm, template< class, template< class... > class, size_t > class... HMFs>
struct mlpack::cv::SelectMethodForm< MLAlgorithm, HMFs >

A type function that selects a right method form.

As parameters it takes a machine learning algorithm, a set of HasMethodForm structs, and a set of method forms. Method forms are passed to the internal struct From. The result type can be accessed through the Type member of the From struct.

The implementation basically loops through all combinations of the HasMethodForm structs and the method forms. It stops when a right combination succeeds, or when there are no more combinations.

Definition at line 198 of file meta_info_extractor.hpp.

The documentation for this struct was generated from the following file: