The Complete SPRLIB & ANNLIB

sprexit

- terminate the use of SPRANNLIB

SYNOPSIS

void sprexit (options)

ARGUMENTS

int options Flags of type EXIT-flags.

RETURNS

Nothing.

FUNCTION

This routine should be called in programs using SPRANNLIB after any other function in the library is called. It frees several structures and monitors memory leakage. If AUTO_PRIORITY is defined (see LIBRARY-flags), the clear_auto_priority function is called. To be on the safe side, several ..._free routines are called: knn_free, parzen_free, koh_draw_free, learn_ptron_free, random_multi_free, clear_user_signal, free_system_dataset and free_system_netlib. The function status_monitor is called to report memory leakage. Finally, if the EXIT_SILENT flag is not set, an exit message is printed reporting the number of errors and warnings generated (as indicated by SPRerror and SPRwarning, see UTILITY-variables).

SEE ALSO

sprinit

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998