Class TSMinerInput


  • public class TSMinerInput
    extends java.lang.Object
    Transition System Miner Input.
    Version:
    0.1
    Author:
    Eric Verbeek
    • 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.
      • 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)