Apply a detector to each component to see if ALL match. More...
#include <vpdt_mixture_detector.h>
Public Types | |
typedef bool | return_type |
the functor return type. | |
typedef mixture_type | distribution_type |
the distribution operated on by the detector. | |
typedef mixture_type::field_type | F |
the data type to represent a point in the field. | |
typedef vpdt_field_traits< F > ::scalar_type | T |
define the scalar type (normally specified by template parameter T). | |
Public Member Functions | |
vpdt_mixture_all_detector (const detector_type &d) | |
Constructor. | |
bool | operator() (const mixture_type &mix, const F &sample, bool &result) const |
The main function. | |
Public Attributes | |
detector_type | detect |
The detector to apply to components. | |
Static Public Attributes | |
static const unsigned int | return_dim = 1 |
the functor return type. |
Apply a detector to each component to see if ALL match.
Return true if all components match
Definition at line 59 of file vpdt_mixture_detector.h.
typedef mixture_type vpdt_mixture_all_detector< mixture_type, detector_type >::distribution_type |
the distribution operated on by the detector.
Definition at line 67 of file vpdt_mixture_detector.h.
typedef mixture_type::field_type vpdt_mixture_all_detector< mixture_type, detector_type >::F |
the data type to represent a point in the field.
Definition at line 70 of file vpdt_mixture_detector.h.
typedef bool vpdt_mixture_all_detector< mixture_type, detector_type >::return_type |
the functor return type.
Definition at line 63 of file vpdt_mixture_detector.h.
typedef vpdt_field_traits<F>::scalar_type vpdt_mixture_all_detector< mixture_type, detector_type >::T |
define the scalar type (normally specified by template parameter T).
Definition at line 72 of file vpdt_mixture_detector.h.
vpdt_mixture_all_detector< mixture_type, detector_type >::vpdt_mixture_all_detector | ( | const detector_type & | d | ) | [inline] |
Constructor.
Definition at line 75 of file vpdt_mixture_detector.h.
bool vpdt_mixture_all_detector< mixture_type, detector_type >::operator() | ( | const mixture_type & | mix, |
const F & | sample, | ||
bool & | result | ||
) | const [inline] |
The main function.
Definition at line 78 of file vpdt_mixture_detector.h.
detector_type vpdt_mixture_all_detector< mixture_type, detector_type >::detect |
The detector to apply to components.
Definition at line 91 of file vpdt_mixture_detector.h.
const unsigned int vpdt_mixture_all_detector< mixture_type, detector_type >::return_dim = 1 [static] |
the functor return type.
Definition at line 65 of file vpdt_mixture_detector.h.