source: cpp/frams/neuro/geneticneuroparam.cpp @ 239

Last change on this file since 239 was 197, checked in by Maciej Komosinski, 11 years ago

GDK used by developers since 1999, distributed on the web since 2002

  • Property svn:eol-style set to native
File size: 636 bytes
RevLine 
[138]1// This file is a part of the Framsticks GDK.
[197]2// Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
[138]3// Refer to http://www.framsticks.com/ for further information.
4
5#include "geneticneuroparam.h"
6#include <frams/neuro/neurolibrary.h>
7
8GeneticNeuroParam::GeneticNeuroParam(const char* groupname,const char* myname,
9                                   const char* prefix,const char* typ)
10        :NeuroLibParam(groupname,myname,prefix),types(typ)
11{}
12
13long GeneticNeuroParam::getInt(int i)
14{return Neuro::getClass(i)->genactive;}
15
16int GeneticNeuroParam::setInt(int i,long v)
17{Neuro::getClass(i)->genactive=v;return PSET_CHANGED;}
18
Note: See TracBrowser for help on using the repository browser.