|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.processmining.plugins.heuristicsnet.miner.heuristics.miner.fitness.ContinuousSemantics
public class ContinuousSemantics
Calculates the fitness of HeuristicsNet objects
in a population based on a weighed sum of (i) the ratio of
parsed activities without problems and (ii) the ratio of
properly completed traces.
Additional methods are provided to set and retrieve the values of the two different weights used for every part of the sum above. Furthermore, the parsing semantics is a continuous one (i.e., the log replay does not stop when problems are encountered).
| Constructor Summary | |
|---|---|
ContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
Constructs a new continuous semantics fitness for the given log. |
|
| Method Summary | |
|---|---|
HeuristicsNet[] |
calculate(HeuristicsNet[] population)
Calculates the continuous semantics fitness of every HeuristicsNet in the population |
double |
getNumEnabledConstant()
Returns the value used to weigh the impact of the ratio of parsed activities without problems during the log replay |
double |
getNumProperlyCompletedConstant()
Returns the value used to weigh the impact of the ratio of properly completed traces during the log replay |
void |
setNumEnabledConstant(double newValue)
Sets the value used to weigh the impact of the ratio of parsed activities without problems during the log replay |
void |
setNumProperlyCompletedConstant(double newValue)
Sets the value used to weigh the impact of the ratio of properly completed traces during the log replay |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
HeuristicsNet will be based on this log.
logInfo - information about the log| Method Detail |
|---|
public HeuristicsNet[] calculate(HeuristicsNet[] population)
HeuristicsNet in the population
calculate in interface Fitnesspopulation - array containing the HeuristicsNet for
which a fitness value will be calculated
HeuristicsNet with updated fitness values.public double getNumProperlyCompletedConstant()
public double getNumEnabledConstant()
public void setNumProperlyCompletedConstant(double newValue)
newValue - new double value of this weightpublic void setNumEnabledConstant(double newValue)
newValue - new double value of this weight
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||