#include <GaussianStateLessWeight.h>
Public Member Functions | |
GaussianStateLessWeight () | |
GaussianStateLessWeight () | |
bool | operator() (const RCSingleGaussianState a, const RCSingleGaussianState b) const |
bool | operator() (const SingleStatePtr &a, const SingleStatePtr &b) const |
Private Types | |
typedef boost::shared_ptr < SingleGaussianState< N > > | SingleStatePtr |
Compare two SingleGaussianState acc. to their weight.
Definition at line 12 of file GaussianStateLessWeight.h.
typedef boost::shared_ptr< SingleGaussianState<N> > GaussianStateLessWeight< N >::SingleStatePtr [private] |
Definition at line 15 of file GaussianStateLessWeight.h.
GaussianStateLessWeight< N >::GaussianStateLessWeight | ( | ) | [inline] |
Definition at line 18 of file GaussianStateLessWeight.h.
{}
GaussianStateLessWeight< N >::GaussianStateLessWeight | ( | ) | [inline] |
Definition at line 13 of file GaussianStateLessWeight.h.
{}
bool GaussianStateLessWeight< N >::operator() | ( | const SingleStatePtr & | a, |
const SingleStatePtr & | b | ||
) | const [inline] |
Definition at line 19 of file GaussianStateLessWeight.h.
bool GaussianStateLessWeight< N >::operator() | ( | const RCSingleGaussianState | a, |
const RCSingleGaussianState | b | ||
) | const [inline] |
Definition at line 14 of file GaussianStateLessWeight.h.
{ // ThS: No validity for RCSingleGaussianState // if ( !a.isValid() || !b.isValid() ) return false; return a->weight()>b->weight(); }