- 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.