Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.BIDE_and_prefixspan_with_strings.SequentialPatterns' Java class
SequentialPatterns
ca.pfv.spmf.algorithms.sequentialpatterns.BIDE_and_prefixspan_with_strings

Class SequentialPatterns

    • Constructor Summary

      Constructors 
      Constructor and Description
      SequentialPatterns(java.lang.String name)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<SequentialPattern> getLevel(int index)
      Get all the sequential patterns of a given size.
      int getLevelCount()
      Get the maximum size of sequential patterns + 1.
      java.util.List<java.util.List<SequentialPattern>> getLevels()
      Get a list of list of sequential patterns such that at position i, there is a list of sequential patterns containing i items.
      void printSequencesFrequentes(int nbObject)
      Print all sequential patterns to System.out.
      java.lang.String toString(int nbObject)
      Get a string representation of this set of sequential patterns.
      • Methods inherited from class java.lang.Object

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

      • SequentialPatterns

        public SequentialPatterns(java.lang.String name)
        Constructor
        Parameters:
        name - a name to give to this set of patterns
    • Method Detail

      • printSequencesFrequentes

        public void printSequencesFrequentes(int nbObject)
        Print all sequential patterns to System.out.
        Parameters:
        nbObject - the size of the original database in terms of sequences.
      • toString

        public java.lang.String toString(int nbObject)
        Get a string representation of this set of sequential patterns.
        Parameters:
        nbObject - the number of sequences in the database where these patterns were found.
        Returns:
        a string
      • getLevel

        public java.util.List<SequentialPattern> getLevel(int index)
        Get all the sequential patterns of a given size.
        Parameters:
        index - the size in terms of items.
        Returns:
        a list of sequential patterns.
      • getLevelCount

        public int getLevelCount()
        Get the maximum size of sequential patterns + 1.
        Returns:
        the maximum size.
      • getLevels

        public java.util.List<java.util.List<SequentialPattern>> getLevels()
        Get a list of list of sequential patterns such that at position i, there is a list of sequential patterns containing i items.
        Returns:
        the list of pattern lists.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.