Changeset 145 for cpp/frams/_demos/neuro_test.cpp
- Timestamp:
- 02/26/14 20:21:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/neuro_test.cpp
r121 r145 6 6 #include <frams/virtfile/stdiofile.h> 7 7 #include <frams/util/sstringutils.h> 8 #include <frams/genetics/ defgenoconv.h>8 #include <frams/genetics/preconfigured.h> 9 9 #include <frams/neuro/neuroimpl.h> 10 10 #include <frams/neuro/neurofactory.h> … … 15 15 Sample code: Neural network tester (can run your custom neurons) 16 16 */ 17 18 StdoutErrorHandler err; //redirect model-related errors to stdout19 DefaultGenoConvManager gcm; //without this object the application would only handle "format 0" genotypes20 17 21 18 #ifndef GDK_WITHOUT_FRAMS … … 63 60 int main(int argc,char*argv[]) 64 61 { 62 StdoutErrorHandler err;//the default ErrorHandler constructor automatically registers this object to receive framsg messages (and in this case, redirect them to standard output) 63 PreconfiguredGenetics genetics; 64 65 65 if (argc<=1) 66 66 {
Note: See TracChangeset
for help on using the changeset viewer.