| 89 | size_t maxChromosomeLength; ///< Maximum length of newly generated chromosomes |
| 90 | |
| 91 | bool isValid() const |
| 92 | { |
| 93 | return ( |
| 94 | 0 <= elitePoolSize && elitePoolSize <= 1.0 && |
| 95 | minChromosomeLength <= maxChromosomeLength |
| 96 | ); |
| 97 | } |
| 98 | }; |
| 99 | |
| 100 | explicit RandomAlgorithm(Options const& _options): |
no outgoing calls
no test coverage detected