Public Member Functions | Public Attributes | List of all members
vpdt_mixture_of< dist_t >::sort_adaptor< comp_type_ > Class Template Reference

This adaptor allows users to define ordering functors on the components without accessing the components directly. More...

Public Member Functions

 sort_adaptor (comp_type_ c)
 
bool operator() (const component *const c1, const component *const c2) const
 

Public Attributes

comp_type_ comp
 

Detailed Description

template<class dist_t>
template<class comp_type_>
class vpdt_mixture_of< dist_t >::sort_adaptor< comp_type_ >

This adaptor allows users to define ordering functors on the components without accessing the components directly.

Definition at line 104 of file vpdt_mixture_of.h.

Constructor & Destructor Documentation

◆ sort_adaptor()

template<class dist_t>
template<class comp_type_ >
vpdt_mixture_of< dist_t >::sort_adaptor< comp_type_ >::sort_adaptor ( comp_type_  c)
inline

Definition at line 107 of file vpdt_mixture_of.h.

Member Function Documentation

◆ operator()()

template<class dist_t>
template<class comp_type_ >
bool vpdt_mixture_of< dist_t >::sort_adaptor< comp_type_ >::operator() ( const component *const  c1,
const component *const  c2 
) const
inline

Definition at line 108 of file vpdt_mixture_of.h.

Member Data Documentation

◆ comp

template<class dist_t>
template<class comp_type_ >
comp_type_ vpdt_mixture_of< dist_t >::sort_adaptor< comp_type_ >::comp

Definition at line 110 of file vpdt_mixture_of.h.


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