The Complete SPRLIB & ANNLIB

create_ff_links

- create all links between units created by create_ff_units (LOCAL)

SYNOPSIS

int create_ff_links (NumLayers, UnitVect, net)

ARGUMENTS

int NumLayers The number of layers in the network.
int *UnitVect A vector containing, for each layer, the number of units in that layer.
NET *net A pointer to a NET structure, already containing a doubly linked list of UNIT structures.

RETURNS

TRUE if an error was detected, FALSE if not.

FUNCTION

This function glues together the UNIT structures produced by the create_ff_units function. It calls malloc_link to allocate memory. Each link is filled; the LinkFlag field is set and the links are numbered by LinkId. Each unit in a layer L is connected to all units in layer L-1.

NOTE

The function first_of_layer is called to find the correct starting units.

SEE ALSO

create_ff_net

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