#ifndef NEURAL_NETWORK_H #define NEURAL_NETWORK_H #include "neural/node.h" #include namespace Neural { template class Network { public: Network() : pRoot( 0 ) { } virtual ~Network() { delete pRoot; } static Network *fromStr( const Bu::String &sCode ) { Network *pNet = new Network(); return pNet; } private: Node *pRoot; }; }; #endif