#include "ne_std.h"
#include "ne_dyn.h"
#include <igraph.h>
#include <gsl/gsl_rng.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
Go to the source code of this file.
Functions |
void | ne_init (unsigned int rngSeed) |
| Initialises common NetEvo components.
|
void | ne_finalise (void) |
| Frees common resources used by NetEvo.
|
void | ne_error (const char *fmt,...) |
| Reports an error.
|
void | ne_log (const char *fmt,...) |
| Logs information.
|
Variables |
gsl_rng * | neRng |
| Global random number generator (from GSL library).
|
Detailed Description
- Author:
- T.E. Gorochowski
Definition in file ne_std.c.
Function Documentation
void ne_error |
( |
const char * |
fmt, |
|
|
|
... | |
|
) |
| | |
Reports an error.
Generates a formatted error string and outputs to the stderr stream. No newline character is required.
Definition at line 71 of file ne_std.c.
void ne_finalise |
( |
void |
|
) |
|
Frees common resources used by NetEvo.
Should be called when finished with NetEvo to ensure any shared resources that allocated memory are freed.
Definition at line 57 of file ne_std.c.
void ne_init |
( |
unsigned int |
rngSeed |
) |
|
Initialises common NetEvo components.
Should be called before using any NetEvo functions or structures. It is responsible for initialising the random number generator and other shared resources.
Definition at line 40 of file ne_std.c.
void ne_log |
( |
const char * |
fmt, |
|
|
|
... | |
|
) |
| | |
Logs information.
Generates a formatted output string and outputs to the stdout stream. No newline character is required.
Definition at line 83 of file ne_std.c.
Variable Documentation
Global random number generator (from GSL library).
This is used by all the built in functions and can also be used by user code if required.
Definition at line 37 of file ne_std.c.