/* See LICENSE file for copyright and license details. */ #ifndef _perceptron_h_ #define _perceptron_h_ typedef struct { int i_num; double *weights; double output; } Perceptron; Perceptron *new_perceptron(int i_num); void free_perceptron(Perceptron *p); #endif