Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Metropolis_predicate< FT > Class Template Reference

Metropolis based predicate. More...

#include <Metropolis_predicate.hpp>

Public Types

typedef T_Metropolis_predicate< FTSelf
 
typedef boost::mt19937 RNG_type
 

Constructors

 T_Metropolis_predicate (const FT &Boltz_K=1., const FT &T=0)
 

Mandatory Requirements

bool operator() (const FT &x, bool is_random_dice=true)
 

Detailed Description

template<class FT = double>
class SBL::CSB::T_Metropolis_predicate< FT >

Metropolis based predicate.

Metropolis based predicate.

Template Parameters
FTNumber type used in the test (default is double).

Member Typedef Documentation

◆ RNG_type

typedef boost::mt19937 RNG_type

◆ Self

Constructor & Destructor Documentation

◆ T_Metropolis_predicate()

T_Metropolis_predicate ( const FT Boltz_K = 1.,
const FT T = 0 
)
inline

Member Function Documentation

◆ operator()()

bool operator() ( const FT x,
bool  is_random_dice = true 
)
inline