Base class for RBFKernel and PolyKernel that implements a simple LRU. (least-recently-used) cache if the cache size is set to a value > 0. Otherwise it uses a full cache.
@author Eibe Frank (eibe@cs.waikato.ac.nz)
@author Shane Legg (shane@intelligenesis.net) (sparse vector code)
@author Stuart Inglis (stuart@reeltwo.com) (sparse vector code)
@author J. Lindgren (jtlindgr{at}cs.helsinki.fi) (RBF kernel)
@author Steven Hugg (hugg@fasterlight.com) (refactored, LRU cache)
@author Bernhard Pfahringer (bernhard@cs.waikato.ac.nz) (full cache)
@version $Revision: 4549 $
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.