Ignore:
Timestamp:
08/18/17 15:24:59 (7 years ago)
Author:
Maciej Komosinski
Message:

Unified property names of f1 and f4; improved docs; 3.141 -> M_PI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f1/conv_f1.h

    r408 r671  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    1111struct F1Props
    1212{
    13         double dlug,skr,masa,tarcie,ruch,asym,odpor,wchl,rot,energ;
    14         double bendrange;
    15         int resetrange;
    16         double grub,cred,cgreen,cblue;
    17         void wykluczanie();
     13        double length, curvedness, weight, friction, muscle_power, assimilation, stamina, ingestion, twist, energy;
     14        double muscle_bend_range;
     15        bool muscle_reset_range;
     16        double visual_size, cred, cgreen, cblue;
     17        void normalizeBiol4();
    1818};
    1919
     
    4949 Another example:
    5050
    51  "X[G][-1:2.3][-2:3.4]" - The first neuron is the standalone G receptor. Other neuron can use its output 
     51 "X[G][-1:2.3][-2:3.4]" - The first neuron is the standalone G receptor. Other neuron can use its output
    5252 signal by specifying it as regular input ("-1:2.3" and "-2:3.4"). This NN contains 3 neurons.
    5353 \image html nn-ex3.gif
     
    5757 Adding another neuron with "G" input will add another gyroscope object. This NN contains 4 neurons
    5858 (or 2 neurons if you try it in Framsticks v1).
    59   \image html nn-ex4.gif
    60  
    61 */
    62 class GenoConv_f1: public GenoConverter
     59 \image html nn-ex4.gif
     60
     61 */
     62class GenoConv_f1 : public GenoConverter
    6363{
    6464public:
    65 GenoConv_f1()
     65        GenoConv_f1()
    6666        {
    67         name="Recursive encoding";
    68         in_format='1';
    69         mapsupport=1;
     67                name = "Recursive encoding";
     68                in_format = '1';
     69                mapsupport = 1;
    7070        }
    71 SString convert(SString &i,MultiMap *map);
    72 ~GenoConv_f1() {}
     71        SString convert(SString &i, MultiMap *map);
     72        ~GenoConv_f1() {}
    7373};
    7474
Note: See TracChangeset for help on using the changeset viewer.