summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
authormike <mike@d8baa203-390c-0410-a584-dba4c0749223>2011-07-17 21:57:41 +0000
committermike <mike@d8baa203-390c-0410-a584-dba4c0749223>2011-07-17 21:57:41 +0000
commita59a43a3b7f61dcaa4120f8283cb62aef5727b7f (patch)
treef92a7e66ec0ef990760dd917bea23ba6c32b1619 /src/network.h
parent9a8b77707c12bab9d64e92b19a8256ac5b1e252e (diff)
downloadlibneural-a59a43a3b7f61dcaa4120f8283cb62aef5727b7f.tar.gz
libneural-a59a43a3b7f61dcaa4120f8283cb62aef5727b7f.tar.bz2
libneural-a59a43a3b7f61dcaa4120f8283cb62aef5727b7f.tar.xz
libneural-a59a43a3b7f61dcaa4120f8283cb62aef5727b7f.zip
The network class will simply facilitate the input and output buffers, memory
management, and probably contain the parsing code a little later on. git-svn-id: http://svn.xagasoft.com/misc/libneural/trunk@472 d8baa203-390c-0410-a584-dba4c0749223
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/network.h b/src/network.h
index e69de29..85d8407 100644
--- a/src/network.h
+++ b/src/network.h
@@ -0,0 +1,29 @@
1#ifndef NEURAL_NETWORK_H
2#define NEURAL_NETWORK_H
3
4#include "neural/node.h"
5
6namespace Neural
7{
8 template<typename sigtype>
9 class Network
10 {
11 public:
12 Network() :
13 pRoot( 0 )
14 {
15 }
16
17 virtual ~Network()
18 {
19 delete pRoot;
20 }
21
22
23
24 private:
25 Node<sigtype> *pRoot;
26 };
27};
28
29#endif