org.processmining.plugins.heuristicsnet.miner.heuristics.miner.fitness
Class ImprovedContinuousSemantics

java.lang.Object
  extended by org.processmining.plugins.heuristicsnet.miner.heuristics.miner.fitness.ImprovedContinuousSemantics
All Implemented Interfaces:
Fitness

public class ImprovedContinuousSemantics
extends java.lang.Object
implements Fitness

Calculates the fitness of HeuristicsNet objects in a population based on the ratio of activities in a log that could be parsed (or replayed) without problems. The ratio contains a punishment component based on the amount of problems encountered during the log replay and the amount of traces with parsing problems. In a nutshell, this punishment factor benefits the HeuristicsNet objects that have fewer problems scattered in fewer traces.

Note that the parsing semantics of this fitness measure is a continuous one (i.e., the log replay does not stop when problems are encountered).

Author:
Ana Karla Alves de Medeiros

Constructor Summary
ImprovedContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
          Constructs a new improved continuous semantics fitness for the given log.
 
Method Summary
 HeuristicsNet[] calculate(HeuristicsNet[] population)
          Calculates the improved continuous semantics fitness of every HeuristicsNet in the population
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImprovedContinuousSemantics

public ImprovedContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
Constructs a new improved continuous semantics fitness for the given log. All fitness values calculated by this object for populations of HeuristicsNet will be based on this log.

Parameters:
logInfo - information about the log
Method Detail

calculate

public HeuristicsNet[] calculate(HeuristicsNet[] population)
Calculates the improved continuous semantics fitness of every HeuristicsNet in the population

Specified by:
calculate in interface Fitness
Parameters:
population - array containing the HeuristicsNet for which a fitness value will be calculated
Returns:
array containing HeuristicsNet with updated fitness values.