MCPcopy Create free account
hub / github.com/argotorg/solidity / isValid

Method isValid

tools/yulPhaser/GeneticAlgorithms.h:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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):

Callers 5

RandomAlgorithmMethod · 0.45
CSEFunction · 0.45
parseExpressionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected