Documentation of 'ca.pfv.spmf.tools.dataset_generator.SequenceDatabaseGenerator' Java class
SequenceDatabaseGenerator
ca.pfv.spmf.tools.dataset_generator

Class SequenceDatabaseGenerator



  • public class SequenceDatabaseGenerator
    extends java.lang.Object
    This class is a random sequence database generator such that the user provides some parameters and this class generate a sequence database that is written to the disk.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void generateDatabase(int sequenceCount, int maxDistinctItems, int itemCountByItemset, int itemsetCountBySequence, java.lang.String output, boolean withTimestamps)
      This method randomly generates a sequence database according to parameters provided.
      • Methods inherited from class java.lang.Object

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

      • SequenceDatabaseGenerator

        public SequenceDatabaseGenerator()
    • Method Detail

      • generateDatabase

        public void generateDatabase(int sequenceCount,
                                     int maxDistinctItems,
                                     int itemCountByItemset,
                                     int itemsetCountBySequence,
                                     java.lang.String output,
                                     boolean withTimestamps)
                              throws java.io.IOException
        This method randomly generates a sequence database according to parameters provided.
        Parameters:
        sequenceCount - the number of sequences required
        maxDistinctItems - the maximum number of distinct items
        itemCountByItemset - the number of items by itemset
        itemsetCountBySequence - the number of itemsets by sequence
        output - the file path for writting the generated database
        withTimestamps - if true, this database will contain timestamps, otherwise not
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.