#ifndef INCLUDE_HWEIGHT #define INCLUDE_HWEIGHT #include "pattern.h" #include "hmatrix.h" class Hweight{ private: int N ; vector W ; public: Hweight( int n ) ; void training( const vector& data ) ; void projection( const vector& data ) ; void nrprojection( const vector& data ) ; Hyperbolic get( int j , int i ) const { return W[ j * N + i ] ;} }; #endif