Beispiel #1
0
        public Hardware(string pChromosomeA, string pChromosomeB, int pPartitionIndex)
        {
            /*
             *  Initializes a hardware system based on two past hardware systems.
             */

            CompleteChromosome = GeneticOperations.MixGeneticMaterial(pChromosomeA, pChromosomeB, pPartitionIndex);
            SetGenotypes();
            InitializeFields();
        }
 public Software(string pChromosomeA, string pChromosomeB, int pPartitionIndex)
 {
     CompleteChromosome = GeneticOperations.MixGeneticMaterial(pChromosomeA, pChromosomeB, pPartitionIndex);
     SetGenotypes();
 }