Last change
on this file since 157 was
138,
checked in by sz, 11 years ago
|
genetic operator example - frams/_demos/genooper_test.cpp
|
-
Property svn:eol-style set to
native
|
File size:
614 bytes
|
Line | |
---|
1 | // This file is a part of the Framsticks GDK. |
---|
2 | // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. |
---|
3 | // Refer to http://www.framsticks.com/ for further information. |
---|
4 | |
---|
5 | #ifndef _GENETICNEUROPARAM_H_ |
---|
6 | #define _GENETICNEUROPARAM_H_ |
---|
7 | |
---|
8 | #include "neurolibparam.h" |
---|
9 | |
---|
10 | class GeneticNeuroParam: public NeuroLibParam |
---|
11 | { |
---|
12 | protected: |
---|
13 | const char* types; |
---|
14 | public: |
---|
15 | GeneticNeuroParam(const char* groupname,const char* myname, const char* prefix,const char* typ=0); |
---|
16 | |
---|
17 | long getInt(int i); |
---|
18 | int setInt(int i,long v); |
---|
19 | const char *type(int i) {return types?types:NeuroLibParam::type(i);} |
---|
20 | }; |
---|
21 | |
---|
22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.