krui_err krui_allocateUnits( int number )
<number> units in memory. Additional units can be
requested by multiple calls to that function. This function doesn't
have to be called, since the SNNS kernel always reserves enough memory
for units, sites and links. If a large amount of units is needed,
however, a call to
krui_allocateUnits(...) eases the
administration of system resources. If
is never called, units are always requested in blocks of size
<UNIT_BLOCK>. See also
void krui_getMemoryManagerInfo(int *unit_bytes, int *site_bytes,
int *link_bytes, int *NTable_bytes,
int *STable_bytes, int *FTable_bytes)
determines the number of allocated (not the number of used) bytes for the various components.
deletes the network and frees the whole memory used for the representation of the data structures.