org.processmining.mining.geneticmining.geneticoperations
Class AllElementsMutation

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

public class AllElementsMutation
extends java.lang.Object
implements Mutation

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
AllElementsMutation(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

AllElementsMutation

public AllElementsMutation(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:
      1. Randomly choose if add or remove and entry from the INPUT of this workflow model element.
      2. Randomly choose if add or remove and entry from the OUTPUT of this workflow model element.
      3. Update related elements.

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