public class ContinuousSemantics extends java.lang.Object implements Fitness
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 and Description |
---|
ContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
Constructs a new continuous semantics fitness for the given log.
|
Modifier and Type | Method and Description |
---|---|
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
|
public ContinuousSemantics(org.deckfour.xes.info.XLogInfo logInfo)
HeuristicsNet
will be based on this log.logInfo
- information about the logpublic HeuristicsNet[] calculate(HeuristicsNet[] population)
HeuristicsNet
in the populationpublic 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