Home | Develop | Download | Contact
pdsninput.h
1 /*
2  * pdsninput.h
3  *
4  * Copyright 2011 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
33 #ifndef __PDSNINPUT_H__
34 #define __PDSNINPUT_H__
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #include <stdio.h>
41 #include <stdlib.h>
42 #include <pds/pdssnglobal.h>
43 
44 #ifndef TRUE
45  #define TRUE 1
46 #endif
47 
48 #ifndef FALSE
49  #define FALSE 0
50 #endif
51 
69 typedef struct
70 {
72  PdsSnReal Y[2];
73 }PdsNInput;
74 
75 
89 
91 
107 
109 
122 void pds_ninput_free(PdsNInput *NInput);
123 
124 
131 void pds_ninput_destroy(PdsNInput **NInput);
132 
134 
135 
140 #ifdef __cplusplus
141 }
142 #endif
143 
144 #endif
145 
146 
int pds_ninput_set_input(PdsNInput *NInput, PdsSnReal m)
Escribe el valor en la entrada de la neurona NInput.
PdsNInput * pds_ninput_new(void)
Crea una neurona de tipo PdsNInput e inicia con cero todos los elementos.
void pds_ninput_free(PdsNInput *NInput)
Libera una neurona de tipo puntero PdsNInput.
La estructura tipo PdsNInput . Esta estructura genera una neurona de entrada.
Definition: pdsninput.h:69
void pds_ninput_destroy(PdsNInput **NInput)
Libera una neurona de tipo puntero PdsNInput, y limpia el puntero con NULL.
float PdsSnReal
Definition: pdssnglobal.h:50

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed