textclassifier.ARCBC
Interface documentConnecter


public interface documentConnecter


Method Summary
 java.lang.String getAttributes()
          Returns SQL command that gets all attributes names sql command returns only one column - attribute name!
 Category[] getCategories()
          Returns array of all categories (objects Category)
 int getMinConf()
          Returns minimal confidence
 int getMinSupp()
          Returns minimal support
 java.lang.String getSqlQueryGetCategoriesAndCountsOfItemset(largeItemset oneItemset)
           
 java.lang.String getSqlQueryGetValuesAndCountsOfAttribute(java.lang.String attribute)
           
 java.lang.String getTotalTransCount()
          Returns SQL command that returns total count of transactions
 int getTransInCategory(Category cat)
          Returns transactions thats are in category cat
 boolean hasHigherSupportThanMinsupp(java.util.HashSet<fitem> fitemset, double min_supp)
           
 

Method Detail

getMinSupp

int getMinSupp()
Returns minimal support


getMinConf

int getMinConf()
Returns minimal confidence


getCategories

Category[] getCategories()
Returns array of all categories (objects Category)


getTotalTransCount

java.lang.String getTotalTransCount()
Returns SQL command that returns total count of transactions


getAttributes

java.lang.String getAttributes()
Returns SQL command that gets all attributes names sql command returns only one column - attribute name!


getTransInCategory

int getTransInCategory(Category cat)
Returns transactions thats are in category cat


hasHigherSupportThanMinsupp

boolean hasHigherSupportThanMinsupp(java.util.HashSet<fitem> fitemset,
                                    double min_supp)

getSqlQueryGetValuesAndCountsOfAttribute

java.lang.String getSqlQueryGetValuesAndCountsOfAttribute(java.lang.String attribute)

getSqlQueryGetCategoriesAndCountsOfItemset

java.lang.String getSqlQueryGetCategoriesAndCountsOfItemset(largeItemset oneItemset)