Changeset 64 for cpp/geno_fx/geno_fx.cpp


Ignore:
Timestamp:
01/28/11 23:29:40 (13 years ago)
Author:
Maciej Komosinski
Message:

a lot of minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/geno_fx/geno_fx.cpp

    r31 r64  
    1 // This file is a part of Framsticks GenoFX library.
    2 // Copyright (C) 2002-2009  Maciej Komosinski.  See LICENSE.txt for details.
     1// This file is a part of the Framsticks GenoFX library.
     2// Copyright (C) 2002-2011  Maciej Komosinski.  See LICENSE.txt for details.
    33// Refer to http://www.framsticks.com/ for further information.
    44
     
    5555double Geno_fx::mutateNeuProperty(double current,Neuro *n,int i)
    5656{
    57    if (i==-1) return mutateCreepNoLimit('f',current,-10,10);
     57   if (i==-1) return mutateCreepNoLimit('f',current,-10,10); //i==-1: mutating weight of neural connection
    5858   ParamInterface *pi;
    5959   if (i>=100) {i-=100; pi=&n->getClass()->getProperties();}
Note: See TracChangeset for help on using the changeset viewer.