Functions | Variables

ne_dyn.c File Reference

#include "ne_dyn.h"
#include <gsl/gsl_rng.h>
#include <string.h>

Go to the source code of this file.

Functions

void ne_dyn_finalise (void)
 Clean up memory used by the dynamics library.
ne_err_code_t ne_dyn_add_node_dyn (ne_dyn_node_t *nodeDyn)
 Add a new node dynamic to the library.
ne_err_code_t ne_dyn_add_edge_dyn (ne_dyn_edge_t *edgeDyn)
 Add a new edge dynamic to the library.
ne_err_code_t ne_dyn_remove_node_dyn (const char *name)
 Remove a node dynamic from the library.
ne_err_code_t ne_dyn_remove_edge_dyn (const char *name)
 Remove a edge dynamic from the library.
ne_dyn_node_tne_dyn_find_node_dyn (const char *name)
 Find a given node dynamic from its name.
ne_dyn_edge_tne_dyn_find_edge_dyn (const char *name)
 Find a given node dynamic from its name.

Variables

gsl_rng * neRng
 Global random number generator (from GSL library).
ne_dyn_node_lib_tneNodeDynLib = NULL
 Node dynamics library.
ne_dyn_edge_lib_tneEdgeDynLib = NULL
 Edge dynamics library.

Detailed Description

Author:
T.E. Gorochowski

Definition in file ne_dyn.c.


Function Documentation

ne_err_code_t ne_dyn_add_edge_dyn ( ne_dyn_edge_t edgeDyn  ) 

Add a new edge dynamic to the library.

Definition at line 85 of file ne_dyn.c.

ne_err_code_t ne_dyn_add_node_dyn ( ne_dyn_node_t nodeDyn  ) 

Add a new node dynamic to the library.

Definition at line 64 of file ne_dyn.c.

void ne_dyn_finalise ( void   ) 

Clean up memory used by the dynamics library.

This is automatically called by ne_finalise and should not need to be called manually.

Definition at line 40 of file ne_dyn.c.

ne_dyn_edge_t* ne_dyn_find_edge_dyn ( const char *  name  ) 

Find a given node dynamic from its name.

Definition at line 219 of file ne_dyn.c.

ne_dyn_node_t* ne_dyn_find_node_dyn ( const char *  name  ) 

Find a given node dynamic from its name.

Definition at line 194 of file ne_dyn.c.

ne_err_code_t ne_dyn_remove_edge_dyn ( const char *  name  ) 

Remove a edge dynamic from the library.

Definition at line 150 of file ne_dyn.c.

ne_err_code_t ne_dyn_remove_node_dyn ( const char *  name  ) 

Remove a node dynamic from the library.

Definition at line 106 of file ne_dyn.c.


Variable Documentation

Edge dynamics library.

Definition at line 37 of file ne_dyn.c.

Node dynamics library.

Definition at line 34 of file ne_dyn.c.

gsl_rng* neRng

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.