|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.processmining.models.heuristics.impl.ContinuousSemanticsParser
public class ContinuousSemanticsParser
Replays log traces in HeuristicsNet objects using a continuous
semantics. This means that the parsing process proceeds even when activities
are not enabled during the log replay. Instead, any problems encountered
during the parsing are registered and can be retrieved via the various "get"
methods that are provided in this class.
| Field Summary | |
|---|---|
protected java.util.Set<org.deckfour.xes.classification.XEventClass> |
disabledElements
|
protected MarkingHeuristicsNet |
marking
|
protected int |
numExtraTokensLeftBehind
|
protected int |
numMissingTokens
|
protected int |
numParsedElements
|
protected int |
numUnparsedElements
|
protected boolean |
properlyCompleted
|
protected int |
traceSize
|
protected org.deckfour.xes.classification.XEventClasses |
xEventClassesInHeuristicsNet
|
| Constructor Summary | |
|---|---|
ContinuousSemanticsParser(HeuristicsNet net,
java.util.Random generator)
Constructs a ContinuousSemanticsParser object. |
|
| Method Summary | |
|---|---|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getDisabledElements()
Retrieves the set of event classes that were not enabled during the log replay |
int |
getNumExtraTokensLeftBehind()
Retrieves number of tokens that have been left behind after parsing log traces |
int |
getNumMissingTokens()
Retrieves the number of missing tokens during the replay process |
int |
getNumParsedElements()
Retrieves the number of activities in the log that could be parsed without problems |
int |
getNumUnparsedElements()
Retrieves the number of activities in a log that could not be parsed without any problems |
boolean |
getProperlyCompleted()
Indicates if the last trace to be replayed has properly completed (i.e., no tokens are left behind). |
int |
getSizeDisabledElements()
Retrieves the number of event classes that were not enabled during the log replay |
boolean |
parse(org.deckfour.xes.model.XTrace trace)
Replays a log trace in a HeuristicNet object. |
protected void |
registerProblemWhileParsing(org.deckfour.xes.classification.XEventClass element)
Registers parsing problems for activities that are part of the HeuristicsNet object connected to this
ContinuousSemantics parser. |
protected void |
reset()
Resets this parser object back to its initial state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MarkingHeuristicsNet marking
protected java.util.Set<org.deckfour.xes.classification.XEventClass> disabledElements
protected int numUnparsedElements
protected org.deckfour.xes.classification.XEventClasses xEventClassesInHeuristicsNet
protected int numParsedElements
protected int numMissingTokens
protected int numExtraTokensLeftBehind
protected int traceSize
protected boolean properlyCompleted
| Constructor Detail |
|---|
public ContinuousSemanticsParser(HeuristicsNet net,
java.util.Random generator)
ContinuousSemanticsParser object. This object
will replay log traces in the given HeuristicsNet object.
The random aspect of this replaying process is based on the provided
Random generator
net - heuristics net objectgenerator - random generator used during the parsing of log traces| Method Detail |
|---|
protected void reset()
public boolean parse(org.deckfour.xes.model.XTrace trace)
HeuristicsNetParserHeuristicNet object.
parse in interface HeuristicsNetParsertrace - log trace to be replayed (or parsed).
true if the trace could be replayed,
false otherwise.protected void registerProblemWhileParsing(org.deckfour.xes.classification.XEventClass element)
HeuristicsNet object connected to this
ContinuousSemantics parser.
element - log event that could not be parsed.public java.util.Set<org.deckfour.xes.classification.XEventClass> getDisabledElements()
public int getSizeDisabledElements()
public int getNumUnparsedElements()
public int getNumMissingTokens()
public int getNumExtraTokensLeftBehind()
public boolean getProperlyCompleted()
true if the trace replay completes properly,
false otherwise.public int getNumParsedElements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||