gpsys
Class CrossoverOperation

java.lang.Object
  |
  +--gpsys.GeneticOperation
        |
        +--gpsys.CrossoverOperation

class CrossoverOperation
extends GeneticOperation

This class represents a Crossover operation. A Crossover operation involves just two parents, which are specified in the constructor.

Version:
$Revision: 1.1 $, $Date: 2000/07/05 16:21:25 $
Author:
Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
See Also:
CrossoverBookkeeping, Population, GPParameters

Field Summary
(package private)  int parent2
          The second parent involved in the crossover.
 
Fields inherited from class gpsys.GeneticOperation
parent1
 
Constructor Summary
CrossoverOperation(int parent1, int parent2)
          Constructs a Crossover operation to be performed on the specified parents.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parent2

int parent2
The second parent involved in the crossover.
Constructor Detail

CrossoverOperation

public CrossoverOperation(int parent1,
                          int parent2)
Constructs a Crossover operation to be performed on the specified parents.
Parameters:
parent1 - The first parent involved in the crossover.
parent2 - The second parent involved in the crossover.