Changes between Version 2 and Version 3 of Ticket #62
- Timestamp:
- 04/05/18 16:46:48 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62 – Description
v2 v3 1 1. add f4 tests with invalid genotypes (to test problematic parsing, valgrind) 2 1. add f1 tests to see if introducing GeneProps did not change the calculation of properties (and detect the 'm' bug!) 3 1. implement approximate, fast, very low and constant complexity coloring in f4 (styles) just like it is done in f1 4 1. oper_f4.cpp:137 maybe move all modifier definitions to one location 5 1. oper_f4.cpp:178 address this TODO 6 1. f4_general.cpp:478 address this TODO 7 1. "default move control to neuclasshandler" unclear meaning 8 1. same: "error: if no previous" 9 1. same: "Need to check if exists" 10 1. same: {{{//they belong to neurons}}} 11 1. same: "tc3 is only to ensure that in the end of neuron parameter definition" 12 1. check: {{{sprintf((char*)buf2.c_str(), "%d", i1);}}} and all other similar use cases 13 1. makeNull() never used? 14 1. char count; repetition counter - TODO discuss the CHAR type 15 1. f4_general.h from line 160 upwards. Fix English, merge (remove spaces) * (pointer) with variable names or type names when there is no variable name 16 1. unify modifier macros between f1 and f4? 17 1. still true? {{{#define F4_MODIFIERS_VISUAL "" //not supported in f4}}} 18 1. fix Geno_f4::style, old pieces of code remain and clash with new 19 1. still needed? 1 20 {{{ 2 1) unify modifier macros between f1 and f4?3 2) still true? #define F4_MODIFIERS_VISUAL "" //not supported in f44 3) fix Geno_f4::style, old pieces of code remain and clash with new5 4) still needed?6 21 double state; ///<state of neuron 7 22 double inertia; ///<inertia of neuron 8 23 double force; ///<force of neuron 9 24 double sigmo; ///<sigmoid of neuron 10 11 5) out of line comment? 12 // a collection of cells, like Organism, for developmental encoding 13 14 25 }}} 26 1. out of line comment? 27 {{{// a collection of cells, like Organism, for developmental encoding}}} 15 28 and another 16 // convert f4 geno string to tree structure (internal) 17 18 19 6) unclear in parens: 29 {{{// convert f4 geno string to tree structure (internal)}}} 30 21. unclear in parentheses: 31 {{{ 20 32 @return 0 if repair can be performed, -1 otherwise (the repair flag wasn't set in constructor) 21 22 7) int min, int max -> int mn, int mx 23 24 8) @param current parent of the analysed branch of the genotype 25 there is no "current" arg? 26 27 9) notation everywhere: 33 }}} 34 1. int min, int max -> int mn, int mx 35 1. {{{@param current parent of the analysed branch of the genotype}}} - there is no "current" arg? 36 1. notation everywhere: 37 {{{ 28 38 double * v -> double *v 29 39 const char * parse() -> const char* parse()