diff options
Diffstat (limited to '')
-rw-r--r-- | src/network.h | 29 |
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 | |||
6 | namespace 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 | ||