Class TSMinerInput
- java.lang.Object
-
- org.processmining.plugins.transitionsystem.miner.TSMinerInput
-
public class TSMinerInput extends java.lang.ObjectTransition System Miner Input.- Version:
- 0.1
- Author:
- Eric Verbeek
-
-
Constructor Summary
Constructors Constructor Description TSMinerInput(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.util.Collection<org.deckfour.xes.classification.XEventClassifier> classifiers, org.deckfour.xes.classification.XEventClassifier transitionClassifier)Create default settings for the transition system miner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtificialAttribute()java.lang.StringgetArtificialEndLabel()java.lang.StringgetArtificialStartLabel()java.util.Collection<java.lang.String>getAttributeFilter()Gets the filter for attributes.java.util.Collection<org.deckfour.xes.classification.XEventClassifier>getClassifiers()TSConverterInputgetConverterSettings()org.deckfour.xes.model.XLoggetLog()org.deckfour.xes.info.XLogInfogetLogInfo()intgetMaxStates()TSMinerModirInputgetModirSettings(TSDirections direction, org.deckfour.xes.classification.XEventClassifier classifier)Gets the given modir setting.org.deckfour.xes.classification.XEventClassifiergetTransitionClassifier()booleangetUseAttributes()Gets whether the attribute settings have been selected for use.java.util.Collection<java.lang.String>getVisibleFilter()Gets the transition label filter.booleanisAddArtificialStates()voidsetAddArtificialStates(boolean addArtificialStates)voidsetArtificialAttribute(java.lang.String artificialAttribute)voidsetArtificialEndLabel(java.lang.String artificialEndLabel)voidsetArtificialStartLabel(java.lang.String artificialStartLabel)java.util.Collection<java.lang.String>SetAttributeFilter(java.util.Collection<java.lang.String> newFilter)Sets the filter for attributes.TSConverterInputsetConverterSettings(TSConverterInput newSettings)voidsetMaxStates(int maxStates)TSMinerModirInputsetModirSettings(TSDirections direction, org.deckfour.xes.classification.XEventClassifier classifier, TSMinerModirInput newSettings)Sets the given modir setting.booleansetUseAttributes(boolean newUse)Sets whether the attribute settings have been selected for use.java.util.Collection<java.lang.String>SetVisibleFilter(java.util.Collection<java.lang.String> newFilter)Sets the transition label filter.
-
-
-
Constructor Detail
-
TSMinerInput
public TSMinerInput(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.util.Collection<org.deckfour.xes.classification.XEventClassifier> classifiers, org.deckfour.xes.classification.XEventClassifier transitionClassifier)Create default settings for the transition system miner.- Parameters:
log- The log used.summary- The summary for the log used.
-
-
Method Detail
-
getClassifiers
public java.util.Collection<org.deckfour.xes.classification.XEventClassifier> getClassifiers()
-
getTransitionClassifier
public org.deckfour.xes.classification.XEventClassifier getTransitionClassifier()
-
getModirSettings
public TSMinerModirInput getModirSettings(TSDirections direction, org.deckfour.xes.classification.XEventClassifier classifier)
Gets the given modir setting.- Parameters:
direction- Direction (BACKWARD, FORWARD).mode- Mode (MODELELEMENT, ORIGINATOR, EVENTTYPE).- Returns:
- Settings for this horizon.
-
setModirSettings
public TSMinerModirInput setModirSettings(TSDirections direction, org.deckfour.xes.classification.XEventClassifier classifier, TSMinerModirInput newSettings)
Sets the given modir setting.- Parameters:
direction- Direction (BACKWARD, FORWARD).mode- Mode (MODELELEMENT, ORIGINATOR, EVENTTYPE).newSettings- The new settings.- Returns:
- The old settings.
-
getUseAttributes
public boolean getUseAttributes()
Gets whether the attribute settings have been selected for use.- Returns:
- Whether the attribute settings have been selected for use.
-
setUseAttributes
public boolean setUseAttributes(boolean newUse)
Sets whether the attribute settings have been selected for use.- Parameters:
newUse- The new value.- Returns:
- The old value.
-
getAttributeFilter
public java.util.Collection<java.lang.String> getAttributeFilter()
Gets the filter for attributes.- Returns:
- The filter for attributes.
-
SetAttributeFilter
public java.util.Collection<java.lang.String> SetAttributeFilter(java.util.Collection<java.lang.String> newFilter)
Sets the filter for attributes.- Parameters:
newFilter- The new filter.- Returns:
- The old filter.
-
getVisibleFilter
public java.util.Collection<java.lang.String> getVisibleFilter()
Gets the transition label filter.- Returns:
- The filter general for model elements.
-
SetVisibleFilter
public java.util.Collection<java.lang.String> SetVisibleFilter(java.util.Collection<java.lang.String> newFilter)
Sets the transition label filter.- Parameters:
newFilter- The new filter.- Returns:
- The old filter.
-
getConverterSettings
public TSConverterInput getConverterSettings()
-
setConverterSettings
public TSConverterInput setConverterSettings(TSConverterInput newSettings)
-
getLog
public org.deckfour.xes.model.XLog getLog()
-
getLogInfo
public org.deckfour.xes.info.XLogInfo getLogInfo()
-
getMaxStates
public int getMaxStates()
-
setMaxStates
public void setMaxStates(int maxStates)
-
isAddArtificialStates
public boolean isAddArtificialStates()
-
setAddArtificialStates
public void setAddArtificialStates(boolean addArtificialStates)
-
getArtificialStartLabel
public java.lang.String getArtificialStartLabel()
-
setArtificialStartLabel
public void setArtificialStartLabel(java.lang.String artificialStartLabel)
-
getArtificialEndLabel
public java.lang.String getArtificialEndLabel()
-
setArtificialEndLabel
public void setArtificialEndLabel(java.lang.String artificialEndLabel)
-
getArtificialAttribute
public java.lang.String getArtificialAttribute()
-
setArtificialAttribute
public void setArtificialAttribute(java.lang.String artificialAttribute)
-
-