C# Class GA.Helpers.SpecimenHelper

Show file Open project: homoluden/fedkf-ga

Public Properties

Property Type Description
SimilarityThreshold double

Public Methods

Method Description
Crossover ( this current, Specimen other ) : List
GenerateGenes ( Specimen &spec ) : void
IsSimilar ( this spec1, Specimen spec2 ) : bool
Mutate ( this spec ) : Specimen
Print ( this array ) : string
SetGenes ( Specimen &spec, double genes ) : void

Private Methods

Method Description
SpecimenHelper ( ) : System

Method Details

Crossover() public static method

public static Crossover ( this current, Specimen other ) : List
current this
other Specimen
return List

GenerateGenes() public static method

public static GenerateGenes ( Specimen &spec ) : void
spec Specimen
return void

IsSimilar() public static method

public static IsSimilar ( this spec1, Specimen spec2 ) : bool
spec1 this
spec2 Specimen
return bool

Mutate() public static method

public static Mutate ( this spec ) : Specimen
spec this
return Specimen

Print() public static method

public static Print ( this array ) : string
array this
return string

SetGenes() public static method

public static SetGenes ( Specimen &spec, double genes ) : void
spec Specimen
genes double
return void

Property Details

SimilarityThreshold public static property

public static double SimilarityThreshold
return double