org.processmining.mining.geneticmining.geneticoperations
Class PartitionRedefinitionMutation

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

public class PartitionRedefinitionMutation
extends java.lang.Object
implements Mutation

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
PartitionRedefinitionMutation(java.util.Random gen, double mutationRate)
           
 
Method Summary
 HeuristicsNet doMutation(HeuristicsNet ind)
          This method changes the AND/OR-split/join at the individual.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionRedefinitionMutation

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

doMutation

public HeuristicsNet doMutation(HeuristicsNet ind)
This method changes the AND/OR-split/join at the individual. It 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 the following for the INPUT and for the OUTPUT set:
      1. Retrieve the union U of all partitions in the set S.
      2. Randomly set a new number of subsets (partitions) for this set S.
      3. Randomly distribute the elements at the union set U among the partition in S.

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