VinaLC: Parallel Molecular Docking Program

Biochemical and Biophysical Systems Group
VinaLC version: 1.1.2

random.h File Reference
#include <boost/random.hpp>
#include "common.h"
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef boost::mt19937 rng
 

Functions

fl random_fl (fl a, fl b, rng &generator)
 
fl random_normal (fl mean, fl sigma, rng &generator)
 
int random_int (int a, int b, rng &generator)
 
sz random_sz (sz a, sz b, rng &generator)
 
vec random_inside_sphere (rng &generator)
 
vec random_in_box (const vec &corner1, const vec &corner2, rng &generator)
 
int auto_seed ()
 

Typedef Documentation

typedef boost::mt19937 rng

Function Documentation

fl random_fl ( fl  a,
fl  b,
rng generator 
)
fl random_normal ( fl  mean,
fl  sigma,
rng generator 
)

Referenced by random_orientation().

Here is the caller graph for this function:

int random_int ( int  a,
int  b,
rng generator 
)

Referenced by mutate_conf(), parallel_mc::operator()(), and random_sz().

Here is the caller graph for this function:

sz random_sz ( sz  a,
sz  b,
rng generator 
)

References random_int().

Referenced by select_rs().

Here is the call graph for this function:

Here is the caller graph for this function:

vec random_inside_sphere ( rng generator)

References random_fl(), and sqr().

Referenced by mutate_conf(), rigid_conf::mutate_orientation(), and rigid_conf::mutate_position().

Here is the call graph for this function:

Here is the caller graph for this function:

vec random_in_box ( const vec corner1,
const vec corner2,
rng generator 
)

References random_fl(), and VINA_FOR_IN.

Referenced by rigid_conf::randomize().

Here is the call graph for this function:

Here is the caller graph for this function:

int auto_seed ( )

References my_pid().

Referenced by main(), and mpiParser().

Here is the call graph for this function:

Here is the caller graph for this function: