From 49139048717d32e214d725a334b5920c35f7366f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 9 Jul 2012 12:17:50 -0600 Subject: Neural nets are ready for some testing. --- src/network.h | 8 +++++++- src/tests/pic.cpp | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/tests/pic.cpp (limited to 'src') 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 @@ #include "neural/node.h" +#include + namespace Neural { template @@ -19,7 +21,11 @@ namespace Neural delete pRoot; } - + static Network *fromStr( const Bu::String &sCode ) + { + Network *pNet = new Network(); + return pNet; + } private: Node *pRoot; diff --git a/src/tests/pic.cpp b/src/tests/pic.cpp new file mode 100644 index 0000000..89bfcaf --- /dev/null +++ b/src/tests/pic.cpp @@ -0,0 +1,7 @@ +#include "neural/network.h" + +int main( int argc, char *argv[] ) +{ + return 0; +} + -- cgit v1.2.3