Exemple #1
0
 /// <summary>
 /// Creates a BinaryGene with the specified constraints and an initial value.
 /// </summary>
 public BinaryGene(BinaryGeneDescriptor descriptor, bool val) : base(descriptor)
 {
     this.Descriptor = descriptor;
     this.Value = val;
 }
Exemple #2
0
 /// <summary>
 /// Creates a BinaryGene with the specified constraints and an initial value.
 /// </summary>
 public BinaryGene(BinaryGeneDescriptor descriptor, bool val) : base(descriptor)
 {
     this.Descriptor = descriptor;
     this.Value      = val;
 }
Exemple #3
0
 /// <summary>
 /// Creates an BinaryGene with the specified constraints.
 /// </summary>
 public BinaryGene(BinaryGeneDescriptor descriptor) : base(descriptor)
 {            
     this.Descriptor = descriptor;            
 }
Exemple #4
0
 /// <summary>
 /// Creates an BinaryGene with the specified constraints.
 /// </summary>
 public BinaryGene(BinaryGeneDescriptor descriptor) : base(descriptor)
 {
     this.Descriptor = descriptor;
 }