|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.dmcscanning.DmcMiner
public class DmcMiner
DMCMiner. This ProM mining plugin implements the concept of Modification Cluster Scanning. Applicable for any sort of event logs, preferrably for sc. data modification logs.
Field Summary | |
---|---|
protected AdmcSet |
admcs
|
protected static java.util.ArrayList |
aggregationMethods
|
protected AggregationMethod |
aggregator
|
protected boolean |
checkDmcConsistency
|
protected boolean |
consolidateADMC
|
protected boolean |
enforceEventType
|
protected boolean |
enforceOriginator
|
protected ObjectEquivalence |
equivalence
|
protected static java.util.ArrayList |
equivalenceRelations
|
protected DmcSet |
initialDmcs
|
protected long |
maxNoEvents
|
protected long |
maxProximity
|
protected MdmcSet |
mdmcs
|
protected double |
mdmcSelectionBalance
|
protected int |
mdmcSelectionIterations
|
protected DmcOptionsPanel |
optionsPanel
|
protected boolean |
useBreakingProximity
|
Constructor Summary | |
---|---|
DmcMiner()
constructor |
Method Summary | |
---|---|
static java.util.ArrayList |
aggregationMethods()
|
protected void |
displayErrorMessage(java.lang.String message)
|
static java.util.ArrayList |
equivalenceRelations()
|
AggregationMethod |
getAggregationMethod()
|
ObjectEquivalence |
getEquivalence()
|
java.lang.String |
getHtmlDescription()
Gets a description of this plugin in HTML. |
long |
getMaxNoEvents()
|
long |
getMaxProximity()
|
double |
getMdmcSelectionBalance()
|
int |
getMdmcSelectionIterations()
|
java.lang.String |
getName()
Gets the name of this plugin. |
javax.swing.JPanel |
getOptionsPanel(LogSummary summary)
Returns the option panel associated with this mining algorithm or null if it has no options panel. |
protected void |
initialize()
initializes all scan-dependent data structures and settings |
boolean |
isCheckDmcConsistency()
|
boolean |
isConsolidateADMC()
|
boolean |
isEnforceEventType()
|
boolean |
isEnforceOriginator()
|
boolean |
isUsingBreakingProximity()
Whether proximity is interpreted as split-on-break clustering threshold |
MiningResult |
mine(LogReader log)
Execute this mining algorithm on the given log file. |
void |
setAggregationMethod(AggregationMethod method)
sets the aggregation method for ADMC generation |
void |
setCheckDmcConsistency(boolean checkDmcConsistency)
|
void |
setConsolidateADMC(boolean consolidateADMC)
|
void |
setEnforceEventType(boolean enforceEventType)
|
void |
setEnforceOriginator(boolean enforceOriginator)
|
void |
setEquivalence(ObjectEquivalence equivalence)
|
void |
setMaxNoEvents(long maxNoEvents)
|
void |
setMaxProximity(long maxProximity)
|
void |
setMdmcSelectionBalance(double mdmcSelectionBalance)
|
void |
setMdmcSelectionIterations(int mdmcSelectionIterations)
|
void |
setUseBreakingProximity(boolean isUsed)
Sets whether proximity is interpreted as split-on-break clustering threshold |
void |
testOutput()
creates the required Message.TEST output |
protected void |
updateConfiguration()
retrieves the current configuration data from the options panel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DmcSet initialDmcs
protected AdmcSet admcs
protected MdmcSet mdmcs
protected long maxProximity
protected long maxNoEvents
protected boolean useBreakingProximity
protected boolean enforceOriginator
protected boolean enforceEventType
protected boolean consolidateADMC
protected AggregationMethod aggregator
protected double mdmcSelectionBalance
protected int mdmcSelectionIterations
protected boolean checkDmcConsistency
protected static java.util.ArrayList aggregationMethods
protected ObjectEquivalence equivalence
protected static java.util.ArrayList equivalenceRelations
protected DmcOptionsPanel optionsPanel
Constructor Detail |
---|
public DmcMiner()
Method Detail |
---|
public static java.util.ArrayList aggregationMethods()
public static java.util.ArrayList equivalenceRelations()
protected void initialize()
public javax.swing.JPanel getOptionsPanel(LogSummary summary)
MiningPlugin
null
if it has no options panel.
The option panel is the panel that is shown when a log file has just been opened.
The user can set the options for the mining algorithm here.
getOptionsPanel
in interface MiningPlugin
summary
- all known information about the log that's going to be mined with this algorithm
null
if it has no options panelprotected void displayErrorMessage(java.lang.String message)
public MiningResult mine(LogReader log)
MiningPlugin
log
parameter provides methods to
extract the process instances and audit trail entries (cases) from the log file.
This method is allowed to return null
in case there are no results.
mine
in interface MiningPlugin
log
- process instances and audit trail entries
MininResult
objectprotected void updateConfiguration()
public java.lang.String getName()
Plugin
getName
in interface Plugin
public java.lang.String getHtmlDescription()
Plugin
html
, head
and
body
tags should not be used.
This HTML page is displayed in the help system or as context sensitive help.
The HTML body can be stored in an external file in the /lib/documentation/ sub
folder and in this case it can be obtained by calling PluginDocumentationLoader.load(this)
getHtmlDescription
in interface Plugin
public AggregationMethod getAggregationMethod()
public void setAggregationMethod(AggregationMethod method)
method
- public boolean isConsolidateADMC()
public void setConsolidateADMC(boolean consolidateADMC)
consolidateADMC
- Whether ADMC is to be consolidated after derivation.public long getMaxNoEvents()
public void setMaxNoEvents(long maxNoEvents)
maxNoEvents
- The maximal number of events within a DMC.public long getMaxProximity()
public void setMaxProximity(long maxProximity)
maxProximity
- The maximal proximity (in milliseconds) between the first and last events within a DMC.public boolean isEnforceEventType()
public void setEnforceEventType(boolean enforceEventType)
enforceEventType
- whether all events within a DMC are enforced to have the same event typepublic boolean isEnforceOriginator()
public void setEnforceOriginator(boolean enforceOriginator)
enforceOriginator
- whether all events within a DMC are enforced to have the same originatorpublic double getMdmcSelectionBalance()
public void setMdmcSelectionBalance(double mdmcSelectionBalance)
mdmcSelectionBalance
- The mdmcSelectionBalance to set.public int getMdmcSelectionIterations()
public void setMdmcSelectionIterations(int mdmcSelectionIterations)
mdmcSelectionIterations
- The mdmcSelectionIterations to set.public ObjectEquivalence getEquivalence()
public void setEquivalence(ObjectEquivalence equivalence)
equivalence
- The equivalence to set.public boolean isCheckDmcConsistency()
public void setCheckDmcConsistency(boolean checkDmcConsistency)
checkDmcConsistency
- The checkDmcConsistency to set.public boolean isUsingBreakingProximity()
public void setUseBreakingProximity(boolean isUsed)
isUsed
- public void testOutput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |