- Timestamp:
- 04/05/18 17:16:03 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_general.cpp
r767 r770 1217 1217 } 1218 1218 1219 f4_node * f4_node::randomNodeWithSize(int m in, int max)1219 f4_node * f4_node::randomNodeWithSize(int mn, int mx) 1220 1220 { 1221 1221 // try random nodes, and accept if size in range … … 1228 1228 nod = randomNode(); 1229 1229 n = nod->count(); 1230 if ((n >= m in) && (n <= max)) return nod;1230 if ((n >= mn) && (n <= mx)) return nod; 1231 1231 } 1232 1232 // failed, doesn't matter
Note: See TracChangeset
for help on using the changeset viewer.