diff options
Diffstat (limited to '')
-rw-r--r-- | src/network.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h index 85d8407..e364459 100644 --- a/src/network.h +++ b/src/network.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #include "neural/node.h" | 4 | #include "neural/node.h" |
5 | 5 | ||
6 | #include <bu/string.h> | ||
7 | |||
6 | namespace Neural | 8 | namespace Neural |
7 | { | 9 | { |
8 | template<typename sigtype> | 10 | template<typename sigtype> |
@@ -19,7 +21,11 @@ namespace Neural | |||
19 | delete pRoot; | 21 | delete pRoot; |
20 | } | 22 | } |
21 | 23 | ||
22 | 24 | static Network<sigtype> *fromStr( const Bu::String &sCode ) | |
25 | { | ||
26 | Network<sigtype> *pNet = new Network<sigtype>(); | ||
27 | return pNet; | ||
28 | } | ||
23 | 29 | ||
24 | private: | 30 | private: |
25 | Node<sigtype> *pRoot; | 31 | Node<sigtype> *pRoot; |