Ignore:
Timestamp:
06/22/23 03:47:26 (23 months ago)
Author:
Maciej Komosinski
Message:
  • fH: don't mutate non-standard properties: assimilation, ingestion, stamina, density
  • fH: allow relative mutation probabilities in the range 0..100, like in other genetic formats
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fH/fH_general.h

    r1167 r1257  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2023  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    1818#define HANDLE_VECTOR_TYPE "f -1.0 1.0 0.0" ///<Vector values type definition
    1919#define STICKH_LENGTH_TYPE "f 0.001 1.999 1.0" ///<Length of stick handle. Minimum should not be equal to 0, because calculating direction of next part from current stick with length 0 would be impossible
    20 #define FH_PART_PROPS_COUNT   4 ///<Count of part properties
    21 #define FH_JOINT_PROPS_COUNT  3 ///<Count of joint properties
     20#define FH_PART_PROPS_COUNT   1 ///<Count of part properties
     21#define FH_JOINT_PROPS_COUNT  2 ///<Count of joint properties
    2222#define FH_PE_NEURO_DET       "d" ///<Id of details type definition in f0_neuro_paramtab
    2323#define FH_PE_CONN_WEIGHT     "w" ///<Id of weight type definition in f0_neuroconn_paramtab
     
    118118 *  - double stif -  joint property of a stick representing stiffness
    119119 *  - double rotstif -  joint property of a stick representing rotation stiffness
    120  *  - double stamina -  joint property of a stick representing stamina
    121  *  - double density -  parts property of a stick representing density
     120 *  //- double stamina -  joint property of a stick representing stamina
    122121 *  - double friction -  parts property of a stick representing friction
    123  *  - double ingest -  parts property of a stick representing ingestion
    124  *  - double assimilation -  parts property of a stick representing assimilation
     122 *  //- double density -  parts property of a stick representing density
     123 *  //- double ingest -  parts property of a stick representing ingestion
     124 *  //- double assimilation -  parts property of a stick representing assimilation
    125125 *  - double length -  length of a stick
    126126 */
Note: See TracChangeset for help on using the changeset viewer.