System mutations library. More...
|ne_mut_t *||ne_mut_rewire_alloc (ne_real_t expMean)|
|Allocate random edge rewiring (exp dist) mutation. |
|ne_err_code_t||ne_mut_rewire (ne_sys_t *sys, double *params, char *strMut)|
|Random edge rewiring (exp dist) mutation function. |
System mutations library.
Mutations library used by supervisors to generate variations in network topology that can then be tested to see if favourable. It is possible for users to write their own mutational functions by creating an ne_mut_fn structure with appropriate enteries. For many cases though the standard built in functions provide randomised methods that cover many situations.
Each type of mutational function type must be allocated with the approriate alloc function, however, a general free fuction (ne_mut_free) is provided which will call the necessary free function for all types.
Definition in file ne_mut_lib.h.
Random edge rewiring (exp dist) mutation function.
The only change that will be performed will be a rewiring of existing edges. No new edges or nodes will be created or destroyed. The params input for this function is a single double value corrisponding to the exponential mean used when calculating the number of edges that should be rewired.