|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.LogFilter
org.processmining.framework.log.filter.AddNoiseLogFilter
public class AddNoiseLogFilter
Title: AddNoiseLogFilter
Description: This class adds noise to a log. There are 5 possible noise types: head, body, tail, swap and remove. The noise types head, body and tail respectively remove at most! the first, second or third 1/3 of a process instance. The noise type swap randomly swaps two audit trail entries (or tasks) in a process instance. The noise type remove randomly removes one audit trail entry (or task) from a process instance.
NOTE: This class does not treat input logs in which the process instances are grouped!
Field Summary | |
---|---|
static java.lang.String |
BODY
|
static int |
BODY_INDEX
|
static java.lang.String |
HEAD
|
static int |
HEAD_INDEX
|
static java.lang.String[] |
NOISE_TYPES
|
static java.lang.String |
REMOVE
|
static int |
REMOVE_INDEX
|
static java.lang.String |
SWAP
|
static int |
SWAP_INDEX
|
static java.lang.String |
TAIL
|
static int |
TAIL_INDEX
|
Fields inherited from class org.processmining.framework.log.LogFilter |
---|
FAST, filter, load, MODERATE, SLOW |
Constructor Summary | |
---|---|
AddNoiseLogFilter()
|
Method Summary | |
---|---|
protected boolean |
doFiltering(ProcessInstance instance)
Filters a single process instance. |
protected java.lang.String |
getHelpForThisLogFilter()
Returns the help for this LogFilter as HTML text, but without the and tags! |
LogFilterParameterDialog |
getParameterDialog(LogSummary summary)
Returns a Panel for the setting of parameters. |
boolean[] |
getSelectedNoiseTypes()
|
protected void |
readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode)
Read the inside of the |
void |
setSelectedNoiseTypes(int index,
boolean value)
|
protected boolean |
thisFilterChangesLog()
Method to tell whether this LogFilter changes the log or not. |
protected void |
writeSpecificXML(java.io.BufferedWriter output)
Write the inside of the |
Methods inherited from class org.processmining.framework.log.LogFilter |
---|
changesLog, filter, getComplexity, getComplexityAsString, getFilter, getHelp, getName, getThisLogFilterComplexity, readXML, setLowLevelFilter, setName, toString, writeXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HEAD
public static final java.lang.String BODY
public static final java.lang.String TAIL
public static final java.lang.String SWAP
public static final java.lang.String REMOVE
public static final int HEAD_INDEX
public static final int BODY_INDEX
public static final int TAIL_INDEX
public static final int SWAP_INDEX
public static final int REMOVE_INDEX
public static final java.lang.String[] NOISE_TYPES
Constructor Detail |
---|
public AddNoiseLogFilter()
Method Detail |
---|
protected boolean doFiltering(ProcessInstance instance)
doFiltering
in class LogFilter
instance
- the process instance to filter
public boolean[] getSelectedNoiseTypes()
public void setSelectedNoiseTypes(int index, boolean value)
protected boolean thisFilterChangesLog()
LogFilter
compare
method.
thisFilterChangesLog
in class LogFilter
filter()
method. False otherwise.public LogFilterParameterDialog getParameterDialog(LogSummary summary)
LogFilter
getNewLogFilter
method
of the dialog.
getParameterDialog
in class LogFilter
summary
- A LogSummary to be used for setting parameters.
protected java.lang.String getHelpForThisLogFilter()
LogFilter
getHelpForThisLogFilter
in class LogFilter
protected void writeSpecificXML(java.io.BufferedWriter output) throws java.io.IOException
writeSpecificXML
in class LogFilter
output
- OutputStream
java.io.IOException
protected void readSpecificXML(org.w3c.dom.Node logFilterSpecifcNode) throws java.io.IOException
readSpecificXML
in class LogFilter
input
- InputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |