- find the unit with the smallest output value in a Kohonen net
SYNOPSIS
UNIT *best_matching_unit
(net)
ARGUMENTS
NET
*net
A pointer to a Kohonen type network.
RETURNS
A pointer to the best matching unit if succesful, NULL if not.
FUNCTION
This function walks down the linked list of units in NET and returns
a pointer to the unit with the smallest Value.Output field. Since the
activation function is the squared Euclidian distance (ActSqEucDist),
an output value of 0
indicates an exact match whereas large values indicate mismatching.