struct BRAIN

Initial Brain structure

int kind
BUH?
int OpenPort(char *hostname, int port)
Opens socket connection to host at the specified port

FILE* OpenPortFile(char *hostname, int port, char *mode)
Opens connection as FILE* to be able to use fread/fwrite

(1.0-EPS) class Random
Random number generator
Random()
constructor
~Random()
destructor
void SeedIt(long IDUM)
seed random number generator
double Rand()
Get the next pseudo random number
double GaussRand()
Get the next Guassian random number

Documentation

Initial Brain structure. Used during parsing stage, holds information Brain structure.
int kind
BUH?

int OpenPort(char *hostname, int port)
Opens socket connection to host at the specified port

Returns:
file decriptor generated
Parameters:
hostname - the name of the host to connect to
port - to connect to

FILE* OpenPortFile(char *hostname, int port, char *mode)
Opens connection as FILE* to be able to use fread/fwrite

Returns:
pointer to file
Parameters:
hostname - name of the host to connect to
port - the port to connect to
mode - the mode (r, w, etc. ) to open the FILE* as

(1.0-EPS) class Random
Random number generator. Built using book "Numerical Recipes in C"

Random()
constructor

~Random()
destructor

void SeedIt(long IDUM)
seed random number generator

double Rand()
Get the next pseudo random number

double GaussRand()
Get the next Guassian random number

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de