tennsS v1.53 Reference Manual

Copyright (C) 1997 - 2002 Mike Arnold, Altjira Software, mikea@altjira.com

Go to the previous, next section, table of contents.


Kwta

Class Kwta derived from Owned (size <48> bytes)

An object that calculates a k winner take all function over a passed data set. The data set is sorted in descending order, and the kth and k+1st values are weighted together according to <alpha>. The result is then shifted by <offset> and scaled by <factor>.


Configuration

k=<uint> the value of k (1) offset=<data> offset of output (0) factor=<data> factor to scale output (1) alpha=<data> weighting given kth value (0.5)

Derived Classes


Go to the previous, next section, table of contents. Document generated Mon Jun 16 02:19:05 GMT 2003