com.rapidminer.operator.features.aggregation
Class AggregationCrossover

java.lang.Object
  extended by com.rapidminer.operator.features.aggregation.AggregationCrossover

public class AggregationCrossover
extends java.lang.Object

Performs a usual GA crossover on integer arrays. Supports one-point and uniform crossover.

Author:
Ingo Mierswa Exp $

Field Summary
static int CROSSOVER_ONE_POINT
          Indicates a one-point crossover type.
static java.lang.String[] CROSSOVER_TYPES
          The names for the crossover types.
static int CROSSOVER_UNIFORM
          Indicates a uniform crossover type.
 
Constructor Summary
AggregationCrossover(int type, double probability, java.util.Random random)
          Creates a new aggregation crossover operator.
 
Method Summary
 void crossover(java.util.List<AggregationIndividual> population)
          Randomly selects parents from the population and performs crossover.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CROSSOVER_TYPES

public static final java.lang.String[] CROSSOVER_TYPES
The names for the crossover types.


CROSSOVER_ONE_POINT

public static final int CROSSOVER_ONE_POINT
Indicates a one-point crossover type.

See Also:
Constant Field Values

CROSSOVER_UNIFORM

public static final int CROSSOVER_UNIFORM
Indicates a uniform crossover type.

See Also:
Constant Field Values
Constructor Detail

AggregationCrossover

public AggregationCrossover(int type,
                            double probability,
                            java.util.Random random)
Creates a new aggregation crossover operator.

Method Detail

crossover

public void crossover(java.util.List<AggregationIndividual> population)
Randomly selects parents from the population and performs crossover. The parents are kept.



Copyright © 2001-2009 by Rapid-I