Function genann_free
Synopsis
#include <genann.h>
void genann_free(genann *ann)
Description
Frees the memory used by an ann.
Mentioned in
- Getting Started / Quick Example
- Getting Started / Creating and Freeing ANNs
- Examples / example1
- Examples / example2
- Examples / example3
- Examples / example4
Source
Lines 205-208 in genann.c. Line 86 in genann.h.
void genann_free(genann *ann) {
/* The weight, output, and delta pointers go to the same buffer. */
free(ann);
}