Changeset 1298 for cpp/frams/genetics/fF/fF_oper.cpp
- Timestamp:
- 03/29/24 23:30:34 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/fF_oper.cpp
r1280 r1298 49 49 par.load(gene); 50 50 static const int propsToMutate[] = fF_PROPS_TO_MUTATE; 51 int which = rndUint( (unsigned int)std::size(propsToMutate));51 int which = rndUint(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.