An improved Artificial Neural Network (ANN) is disclosed that comprises a
conventional ANN, a database block, and a compare and update circuit. The
conventional ANN is formed by a plurality of neurons, each neuron having
a prototype memory dedicated to store a prototype and a distance
evaluator to evaluate the distance between the input pattern presented to
the ANN and the prototype stored therein. The database block has: all the
prototypes arranged in slices, each slice being capable to store up to a
maximum number of prototypes; the input patterns or queries to be
presented to the ANN; and the distances resulting of the evaluation
performed during the recognition/classification phase. The compare and
update circuit compares the distance with the distance previously found
for the same input pattern updates or not the distance previously stored.