The Complete SPRLIB & ANNLIB

fprintf_network

- save a network

SYNOPSIS

int fprintf_network (stream, net, option)

ARGUMENTS

FILE *stream A valid file pointer.
NET *net A pointer to a correct NET structure.
long option An option flag of type HIST-flags, indicating whether or not the history should be saved. Saving the history may cause very large files to be created.

RETURNS

TRUE if an error occurred, FALSE otherwise.

FUNCTION

This function uses the functions below to save a network to file. Networks are saved in ASCII-format; see NET-IO-format. The number of saved UNITs and WEIGHTs is counted and compared to the NET structure's NumUnits and NumWeights fields, respectively. If an inconsistency is detected, the return value will be TRUE.

SEE ALSO

fprintf_net, fprintf_layers, fprintf_maps, fprintf_unit , fprintf_weight, fprintf_network_small

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