The Complete SPRLIB & ANNLIB

perf_init

- initialize the performance testing facilities of a learning set

SYNOPSIS

int perf_init (dset)

ARGUMENTS

DATASET *dset A pointer to a DATASET.

RETURNS

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

FUNCTION

This function allocates a block of ERROR_STRUCT structures and gives each SAMPLE in dset a pointer to one ERROR_STRUCT in its SystemData.p field. It finishes by setting the PERF_INIT_DONE flag and LEARNREAD and SAMPLEREAD flags (see DATASET-ACCESS-flags).

NOTE

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

SEE ALSO

perf_free, sample_perf, net_perf, error_struct_array

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