org.processmining.mining.geneticmining.geneticoperations.duplicates
Class DTEnhancedMutation

java.lang.Object
  extended by org.processmining.mining.geneticmining.geneticoperations.duplicates.DTEnhancedMutation
All Implemented Interfaces:
Mutation

public class DTEnhancedMutation
extends java.lang.Object
implements Mutation

Version:
1.0
Author:
Ana Karla A. de Medeiros.

Constructor Summary
DTEnhancedMutation(java.util.Random gen, double mutationRate)
           
 
Method Summary
 HeuristicsNet doMutation(HeuristicsNet ind)
          This method works as follows:
For every workflow model element in the net (individual) do: Randomly choose a double number r.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTEnhancedMutation

public DTEnhancedMutation(java.util.Random gen,
                          double mutationRate)
Method Detail

doMutation

public HeuristicsNet doMutation(HeuristicsNet ind)
This method works as follows:
  1. For every workflow model element in the net (individual) do:
    1. Randomly choose a double number r. If r less than mutation rate, do one of the following operations for its INPUT/OUTPUT sets:
      1. Add a task to one of the INPUT/OUTPUT subsets of this workflow model element.
      2. Remove a task from one of the INPUT/OUTPUT subsets of this workflow model element.
      3. Redistribute the tasks of the INPUT/OUTPUT sets of this workflow model element.
      4. Update related elements.

    Specified by:
    doMutation in interface Mutation
    Parameters:
    ind - individual to mutate.
    Returns:
    mutated individual.