Changeset 935 for cpp/frams/genetics/f4
- Timestamp:
- 05/29/20 15:20:29 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_oper.cpp
r899 r935 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 17Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 164 164 { 165 165 // make neuron 166 NeuroClass *rndclass = GenoOperators::getRandomNeuroClass( );166 NeuroClass *rndclass = GenoOperators::getRandomNeuroClass(Model::SHAPE_BALL_AND_STICK); 167 167 if (rndclass == NULL) 168 168 { … … 434 434 { 435 435 // '*', 'G', 'T', or 'S', 1/4 chance each 436 nc = GenoOperators::getRandomNeuroClassWithOutputAndNoInputs( );436 nc = GenoOperators::getRandomNeuroClassWithOutputAndNoInputs(Model::SHAPE_BALL_AND_STICK); 437 437 } 438 438 if (nc != NULL) … … 470 470 if (rndDouble(1) < 0.2f) 471 471 { 472 cl = GenoOperators::getRandomNeuroClassWithOutputAndNoInputs( );472 cl = GenoOperators::getRandomNeuroClassWithOutputAndNoInputs(Model::SHAPE_BALL_AND_STICK); 473 473 if (cl != NULL) 474 474 {
Note: See TracChangeset
for help on using the changeset viewer.