Changeset 1280 for cpp/frams/genetics/fF
- Timestamp:
- 09/10/23 01:51:57 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/fF_oper.cpp
r1130 r1280 49 49 par.load(gene); 50 50 static const int propsToMutate[] = fF_PROPS_TO_MUTATE; 51 int which = rndUint( std::size(propsToMutate));51 int which = rndUint((unsigned int)std::size(propsToMutate)); 52 52 bool mutated_ok = GenoOperators::mutatePropertyNaive(par.param, propsToMutate[which]); 53 53 if (mutated_ok)
Note: See TracChangeset
for help on using the changeset viewer.