forked from lxm1117/pDE_codes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
random.h
33 lines (24 loc) · 1.03 KB
/
random.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* ========================================================================
pDE: Parallel version of Storn and Price's Differential evolution
applied to NEURON modeling
c2005 Jose Ambros-Ingerson jose@kiubo.net
$Date: 2005/06/01 20:54:31 $ $Log: random.h,v $
$Date: 2005/06/01 20:54:31 $ Revision 1.2 2005/06/01 20:54:31 jose
$Date: 2005/06/01 20:54:31 $ worked out most warnings in biowulf.biosci.ohiou.edu
$Date: 2005/06/01 20:54:31 $
$Date: 2005/06/01 20:54:31 $ Revision 1.1.1.1 2005/05/20 19:49:14 jose
$Date: 2005/06/01 20:54:31 $ Parallel Differential Evolution
$Date: 2005/06/01 20:54:31 $
======================================================================== */
#ifndef I_random
#define I_random 1
void set_seed( int new_seed );
int see_seed( void );
double du_dev0( void );
double du_dev( double min, double max );
int iu_dev( int min, int max );
double dexp_dev0( void );
double dexp_dev( double lambda );
double dgauss_dev0( void );
double dgauss_dev( double mean, double sdev );
#endif