Class WordFilteringAlgorithm


  • public class WordFilteringAlgorithm
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Word> filterIrrelevantSubwords​(java.util.List<Word> wordSet, int minSup)
      Returns the words from wordSet that are relevant w.r.t.
      static org.deckfour.xes.model.XLog filterWords​(org.deckfour.xes.model.XLog words, org.deckfour.xes.model.XLog log, DiscoverContextRichLPMsParameters parameters)
      Reads words from the first log calculating support for each word in the second log, and returns a log that contains only the relevant words.
      static org.deckfour.xes.model.XLog filterWords​(org.deckfour.xes.model.XLog words, DiscoverContextRichLPMsParameters parameters)
      Reads the words from a log with support attributes on traces, and returns a log that contains only the relevant words.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WordFilteringAlgorithm

        public WordFilteringAlgorithm()
    • Method Detail

      • filterWords

        public static org.deckfour.xes.model.XLog filterWords​(org.deckfour.xes.model.XLog words,
                                                              org.deckfour.xes.model.XLog log,
                                                              DiscoverContextRichLPMsParameters parameters)
        Reads words from the first log calculating support for each word in the second log, and returns a log that contains only the relevant words.
        Parameters:
        words -
        log -
        parameters -
        Returns:
      • filterWords

        public static org.deckfour.xes.model.XLog filterWords​(org.deckfour.xes.model.XLog words,
                                                              DiscoverContextRichLPMsParameters parameters)
        Reads the words from a log with support attributes on traces, and returns a log that contains only the relevant words.
        Parameters:
        words -
        parameters -
        Returns:
      • filterIrrelevantSubwords

        public static java.util.List<Word> filterIrrelevantSubwords​(java.util.List<Word> wordSet,
                                                                    int minSup)
        Returns the words from wordSet that are relevant w.r.t. minSup.
        Parameters:
        wordSet -
        minSup -
        Returns: