ChromosomeExtensions AnyHasRepeatedGene Method | GeneticSharp |
Checks if any of the chromosomes has repeated gene.
Namespace: GeneticSharp.Domain.ChromosomesAssembly: GeneticSharp.Domain (in GeneticSharp.Domain.dll) Version: 1.0.5010.36434
Syntax
Parameters
- chromosomes
- Type: System.Collections.Generic IList IChromosome
Chromosomes.
Return Value
Type: Booleantrue, if chromosome has repeated gene, false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IList IChromosome . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
See Also