Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim.multidimensionalpatterns.MDPatterns' Java class
MDPatterns
ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim.multidimensionalpatterns

Class MDPatterns



  • public class MDPatterns
    extends java.lang.Object
    Implementation of a set of MD-Patterns (as defined in the DIM algorithm by Pinto et al, 2001), sorted by size.
    Level 0 = MDPatterns of size 0
    Level 1 = MDPatterns of size 1
    ...
    Level n = MDPatterns of size n
    See Also:
    AlgoDim, MDPattern, MDPatternsDatabase, AlgoFournierViger08
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<MDPattern> getLevel(int k)
      Get the MD-patterns of a given size in terms of number of dimensions.
      int getLevelCount()
      Get the size of the largest MD-patterns stored in this structure.
      void printPatterns(int databaseSize)
      Print the patterns contained in this structure to System.out.
      int size()
      Get the number of md-patterns stored in this structure
      • Methods inherited from class java.lang.Object

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

      • MDPatterns

        public MDPatterns(java.lang.String name)
        Constructor.
        Parameters:
        name - a name for the patterns that will be contained in this structure (String).
    • Method Detail

      • printPatterns

        public void printPatterns(int databaseSize)
        Print the patterns contained in this structure to System.out.
        Parameters:
        databaseSize - the number of MD-patterns in the MD-Pattern database.
      • getLevel

        public java.util.List<MDPattern> getLevel(int k)
        Get the MD-patterns of a given size in terms of number of dimensions.
        Parameters:
        k - the size
        Returns:
        a list of MDPatterns
      • size

        public int size()
        Get the number of md-patterns stored in this structure
        Returns:
        a int value.
      • getLevelCount

        public int getLevelCount()
        Get the size of the largest MD-patterns stored in this structure.
        Returns:
        an int value.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.