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

Class TransactionDatabaseGenerator



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

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

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

      • TransactionDatabaseGenerator

        public TransactionDatabaseGenerator()
    • Method Detail

      • generateDatabase

        public void generateDatabase(int transactionCount,
                                     int maxDistinctItems,
                                     int maxItemCountPerTransaction,
                                     java.lang.String output)
                              throws java.io.IOException
        This method randomly generates a transaction database according to parameters provided.
        Parameters:
        transactionCount - transaction count the number of transactions required
        maxDistinctItems - the maximum number of distinct items
        maxItemCountPerTransaction - the maximum number of items per transaction
        output - the file path for writting the generated database
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.