home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / neural.h < prev    next >
Text File  |  1990-05-23  |  703b  |  32 lines

  1. /********************************************************************************
  2.  *    neural.h
  3.  *
  4.  *    Neural Network Header
  5.  *
  6.  *    Written by Paco Xander Nathan
  7.  *    ⌐1990, Motorola Inc.  Public domain source code.
  8.  ********************************************************************************/
  9.  
  10. #define _H_neural
  11.  
  12.  
  13. /* External Data Structures
  14.  */
  15. extern float
  16.     nnCertainty,
  17.     nnOutput;
  18.  
  19. extern Boolean
  20.     nnClusterFlag;
  21.  
  22.  
  23. /* External Function Prototypes
  24.  */
  25. #ifdef PROTOTYPES
  26. void NNInit (void);
  27. void NNSetAllWeights (float value);
  28. void NNSetWeight (short from, short to, short layer, float value);
  29. void NNLearn (Boolean *bit, WORD nBits, WORD theOutput);
  30. void NNActivate (Boolean *bit, WORD nBits);
  31. #endif
  32.