The Complete SPRLIB & ANNLIB

perf_free

- free the performance testing facilities of a learning set

SYNOPSIS

int perf_free (dset)

ARGUMENTS

DATASET *dset A pointer to a DATASET.

RETURNS

TRUE in case of an error, FALSE in case of success.

FUNCTION

This function deallocates a block of ERROR_STRUCT structures and resets each SAMPLE's SystemData.p field to NULL. It finishes by resetting the PERF_INIT_DONE, LEARNREAD and SAMPLEREAD flags (see DATASET-ACCESS-flags).

NOTE

The dataset dset must have its SystemDataRWFlag set to not give write permission (LEARNREAD, SAMPLEREAD) - see DATASET-ACCESS-flags. Also, the PERF_INIT_DONE flag has to be set.

SEE ALSO

perf_init, sample_perf, net_perf, error_struct_array

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