Public Member Functions | List of all members
vpdl_mixture< T, n >::sort_weight Class Reference

This functor is used by default for sorting with STL. More...

Public Member Functions

bool operator() (const component *c1, const component *c2) const
 

Detailed Description

template<class T, unsigned int n = 0>
class vpdl_mixture< T, n >::sort_weight

This functor is used by default for sorting with STL.

The default sorting is decreasing by weight

Definition at line 71 of file vpdl_mixture.h.

Member Function Documentation

◆ operator()()

template<class T, unsigned int n = 0>
bool vpdl_mixture< T, n >::sort_weight::operator() ( const component c1,
const component c2 
) const
inline

Definition at line 74 of file vpdl_mixture.h.


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