org.processmining.mining.geneticmining.population.duplicates
Class DTInitialPopulationFactory

java.lang.Object
  extended by org.processmining.mining.geneticmining.population.duplicates.DTInitialPopulationFactory

public class DTInitialPopulationFactory
extends java.lang.Object

Title: Duplicate Tasks Initial Population Factory

Description: Factory to build an initial population based on different heuristics.

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
DTInitialPopulationFactory()
           
 
Method Summary
static java.lang.String[] getInitialPopulationTypes()
          The initial population types are:
static BuildPopulation getPopulation(int indexPopulationType, java.util.Random gen, LogReader log, double power)
          This method provides an object to build an initial population.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTInitialPopulationFactory

public DTInitialPopulationFactory()
Method Detail

getInitialPopulationTypes

public static java.lang.String[] getInitialPopulationTypes()
The initial population types are:

1) Causal Heuristics (Duplicates+Arcs): Use heuristics to set the amount of duplicates per task and the arcs among the tasks. The amount of duplicates is set based on the causal relation. The arcs are set based on the follows relation.

2) Causal Heuristics (Duplicates): Uses the causal relation to set the amount of duplicates per task, but the arcs are randomly set.

3) Follows Heuristics (Duplicates+Arcs): Uses the follows relation to set the amount of duplicates per task and the arcs among the tasks.

Returns:
String[] With the supported heuristics to build the initial population.

getPopulation

public static BuildPopulation getPopulation(int indexPopulationType,
                                            java.util.Random gen,
                                            LogReader log,
                                            double power)
This method provides an object to build an initial population.

Parameters:
indexPopulationType - int One of the types returned by method getInitialPopulationTypes()
gen - Random The generator to be used.
log - LogReader The log to be used.
power - double The power value to be used.
Returns:
BuildPopulation