Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.clospan_AGP.items.patterns.PatternCreator' Java class
PatternCreator
ca.pfv.spmf.algorithms.sequentialpatterns.clospan_AGP.items.patterns

Class PatternCreator



  • public class PatternCreator
    extends java.lang.Object
    This class is the implementation of a creator of patterns. By means this class, different kind of patterns can be used for this algorithm. Copyright Antonio Gomariz Peñalver 2013 This file is part of the SPMF DATA MINING SOFTWARE (http://www.philippe-fournier-viger.com/spmf). SPMF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SPMF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SPMF. If not, see .
    • Method Detail

      • sclear

        public static void sclear()
      • createPattern

        public Pattern createPattern(java.util.List<ItemAbstractionPair> elements)
        It creates a pattern from a list of pair .
        Parameters:
        elements - the list of pairs to be used
        Returns:
        the created pattern
      • createPattern

        public Pattern createPattern(ItemAbstractionPair pair)
        It creates a pattern of only one item.
        Parameters:
        pair - the pair to be used to create the pattern
        Returns:
        the created pattern
      • createPattern

        public Pattern createPattern()
        It creates an empty pattern
        Returns:
        the created pattern
      • concatenate

        public Pattern concatenate(Pattern p1,
                                   ItemAbstractionPair pair)
        It concatenates a pair to the given pattern
        Parameters:
        p1 - pattern where the pair has to be concatenated
        pair - pair to concatenate with the pattern given as parameter
        Returns:
        the resulting pattern

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.