org.processmining.mining.geneticmining.geneticoperations
Class LocalOnePointCrossover

java.lang.Object
  extended by org.processmining.mining.geneticmining.geneticoperations.LocalOnePointCrossover
All Implemented Interfaces:
Crossover

public class LocalOnePointCrossover
extends java.lang.Object
implements Crossover

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
LocalOnePointCrossover(java.util.Random generator)
           
 
Method Summary
 HeuristicsNet[] doCrossover(HeuristicsNet[] population)
          Do crossover over two individuals in population.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalOnePointCrossover

public LocalOnePointCrossover(java.util.Random generator)
Method Detail

doCrossover

public HeuristicsNet[] doCrossover(HeuristicsNet[] population)
Do crossover over two individuals in population. This crossover always swaps both INPUT and OUTPUT sets of a workflow model element.

Specified by:
doCrossover in interface Crossover
Parameters:
population - has the two individuals to crossover
Returns:
array with the two offsprings that the crossover produced. If population size is less than two, no crossover is done and the population itself is returned.

main

public static void main(java.lang.String[] args)