The Complete SPRLIB & ANNLIB

create_koh_weights

- create all the weights needed for a Kohonen network (LOCAL)

SYNOPSIS

int create_koh_weights (net)

ARGUMENTS

NET *net A pointer to a NET structure containing units and links.

RETURNS

TRUE if an error was detected, FALSE if not.

FUNCTION

This function adds all the weights to a Kohonen type network. It supposes that all units and the links between them have already been added to net using the create_koh_units and create_koh_links functions. All weights are initialized with WeightFlag = VARWEIGHT (see WEIGHT-flags).

NOTE

This function is called by the create_koh_net function. The malloc_weight function is used to allocate the links.

SEE ALSO

create_koh_net, create_koh_units, create_koh_links

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