Navigation: Code Documentation > GeneticAlgorithm > RSGeneticAlgorithm > Classes > TRSGAGene > Properties
TRSGAGene.PreserveSignBit Property
The PreserveSignBit property controls whether the gene class should reserve one bit of the Size as the sign bit for numeric values
Namespace: RSGeneticAlgorithm
Delphi
published property PreserveSignBit: Boolean read FPreserveSignBit write SetPreserveSignBit default False;
Property Value
Type: Boolean
•RSGeneticAlgorithm.TRSGAGene.Size
•RSGeneticAlgorithm.TRSGAGene.AsInteger[Integer]
•RSGeneticAlgorithm.TRSGAGene.AsInt64[Integer]
•RSGeneticAlgorithm.TRSGAGene.AsDouble[Integer]
•RSGeneticAlgorithm.TRSGAGene.AsFloat[Integer]
•TRSGAGene
•RSGeneticAlgorithm